Skip to content

Instantly share code, notes, and snippets.

View phoenixadi2002's full-sized avatar
🎯
Focusing

Aditya kumar phoenixadi2002

🎯
Focusing
View GitHub Profile
@OmarMtya
OmarMtya / gist:9ce68c563893d1c774f11a94ea73a31c
Last active July 3, 2024 19:01
Flowbite decorator to fix Angular routing problem
import { initFlowbite } from "flowbite";
import { Subject, concatMap, delay, of } from "rxjs";
let flowbiteQueue = new Subject<any>();
flowbiteQueue.pipe(
concatMap(item => of(item).pipe(delay(100)))
).subscribe((x) => {
x();
})