Maybe i am dumb, but how can i detect if dynamically component has loaded or loading.js have closed?

Can not figure it out. By loading.js i mean loading.tsx in app folder.
1 Reply
choco
chocoOP10mo ago
i have gsap animation that i want to shoot as soon as any loading ends for example if loading.js have finished it work or dynamically component has loaded thank you in advance in internet there are answers that are 4 years old and not practical at all

Did you find this page helpful?