Next.js: How to find out if the URL params loaded.
If you want to see the whole background story: It's here on another DC Server: https://discord.com/channels/1019350475847499849/1220751135514824764
In Next.js I have the problem that my URL params are first undefined and then they are loaded and becoming undefined or string
how can I find out if the URL params loaded yet?
1 Reply
Solution
Lol,
useRouter()
returns an isReady
prop