#Tailwind styles disappear when I reload the page while using next auth
1 messages · Page 1 of 1 (latest)
Based on the knowledge sources provided, there are several issues reported with Next.js and Tailwind CSS where styles disappear or flicker during page reloads or hot module replacements (HMR). However, there isn't a direct mention of this issue in relation to Next Auth.
One user mentioned a similar issue was related to the use of an authentication package, specifically Supabase and its next-auth-helper package. The user found that incomplete documentation was causing the app to refresh repeatedly, which might be similar to your issue if you're using an authentication package (source (https://github.com/vercel/next.js/issues/48879)).
Another user suggested that the issue might be related to Next.js's font optimization feature. They reported that removing their font import in the layout file of the app resolved the issue for them (source (https://github.com/vercel/next.js/issues/48879)).