Fast Refresh does not work @latest
See original GitHub issueVerify canary release
- I verified that the issue exists in Next.js canary release
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 21.3.0: Wed Jan 5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101
Binaries:
Node: 17.5.0
npm: 8.4.1
Yarn: N/A
pnpm: N/A
Relevant packages:
next: 12.1.2
react: 18.0.0
react-dom: 18.0.0
warn - Latest canary version not detected, detected: “12.1.2”, newest: “12.1.3-canary.0”.
Please try the latest canary version (npm install next@canary
) to confirm the issue still exists before creating a new issue.
Read more - https://nextjs.org/docs/messages/opening-an-issue
What browser are you using? (if relevant)
Chrome 99.0.4844.83 (Official Build) (arm64)
How are you deploying your application? (if relevant)
No response
Describe the Bug
Just installed a new project with npx create-next-app@latest
, and fast refresh is not working.
Expected Behavior
For the browser to refresh when I save a change in my code editor.
To Reproduce
npx create-next-app@latest
start project with npm run dev
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:14 (5 by maintainers)
Top Results From Across the Web
React fast refresh doesn't work · Issue #161 · callstack/repack
I'm using a completely fresh react native project and the example webpack config. Every time I change a file the app does a...
Read more >React-native Fast Refresh broken - Stack Overflow
I have to stop and uninstall the app, run npm run -- --reset-cache and then run npm run android again in order to...
Read more >Basic Features: Fast Refresh - Next.js
Next.js' Fast Refresh is a new hot reloading experience that gives you instantaneous feedback on edits made to your React components.
Read more >How To Troubleshoot Materialized View Fast Log Timestamp ...
This note was created to facilitate troubleshooting materialized view fast log timestamp-based refresh performance issues. MV Fast Refresh ...
Read more >New Fast Refresh Feature in React Native 0.61
It didn't work reliably for function components and often failed to update the screen. It wasn't resilient to typos and mistakes and most...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Figured out the problem and opened a PR here: https://github.com/vercel/next.js/pull/35718 We’ll get it out today 🙏
For those who have this issue. You need to downgrade the react version to 17.0.2 for
react
andreact-dom
.The latest React version changed in the last day, from 17.0.2 to 18.0.0.