Stale source code
Unanswered
Common carp posted this in #help-forum
Common carpOP
I'm using the app router and I'm encountering an issue where the dev server is serving a previously "saved" version of code when when I manually refresh the browser page even with remove cache and hard reload option in Chrome. However if I write the page file without any changes, the dev live reloading mechanism causes the browser to load the current version of the page. The only way to fix the dev server is to stop it and run
It is an obvious looking error when using Chrome dev tools since the "old code" had a syntax error and so the page errors out when manually reloaded.
Is this a known issue with 14.1.0 on React 18? I would have thought hard browser reload should fix "caching" issues?
npm run dev again.It is an obvious looking error when using Chrome dev tools since the "old code" had a syntax error and so the page errors out when manually reloaded.
Is this a known issue with 14.1.0 on React 18? I would have thought hard browser reload should fix "caching" issues?