You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a barebones npx create-remix@latest app, run with npm run dev and open in safari.
When I do this, hot reload doesn't work and I get 2 504 (Outdated Optimize Dep) errors in browser console.
Clearing cache fixes the issue, and if I modify some text on the page, hot reload works... for about 2 minutes.
Then, either after some time or if I restart the dev server, they come back and I have to clear my cache again.
If I decide to add a new component to the page, I get 10s of Error: Hydration failed because the initial UI does not match what was rendered on the server., Which I need to clear browser cache for again.
Reproduction
I created a barebones npx create-remix@latest app, run with npm run dev and open in safari.
When I do this, hot reload doesn't work and I get 2
504 (Outdated Optimize Dep)
errors in browser console.Clearing cache fixes the issue, and if I modify some text on the page, hot reload works... for about 2 minutes.
Then, either after some time or if I restart the dev server, they come back and I have to clear my cache again.
If I decide to add a new component to the page, I get 10s of Error:
Hydration failed because the initial UI does not match what was rendered on the server.
, Which I need to clear browser cache for again.System Info
Used Package Manager
npm
Expected Behavior
Smooth hot reload and no errors on clean install.
Actual Behavior
Hot reload not working and errors in browser console. Hydration error leads to new changes not working at all.
The text was updated successfully, but these errors were encountered: