Next.js Discord

Discord Forum

Getting FOUC with router.push / router.replace

Unanswered
Transvaal lion posted this in #help-forum
Open in Discord
Transvaal lionOP
I dont know why this is happening. I'm using Mantine as my styling library. They said that this is an issue with nextjs not them. I'm using next 14.0.1 and useRouter from next/navigation. Any ideas?

For added context, this only happens when the styles are imported from a module.css file. If they are doing inline in JSX it works fine

0 Replies