question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

4.0.0-next.77: fast refresh issues

See original GitHub issue

I’m going to apologize up front for the lack of reproduction steps, but this is “feedback” in the most general sense.

I’ve been using “react-scripts”: “4.0.0-next.77” for the last three days. It’s been interesting. At it’s best it’s quite amazing and does exactly what you might want. But at its worst, it has been rather surprising.

I’ve seen lots of cases where some code that’s imported by a component changes, but the UI doesn’t notice. Not the end of the world, but refreshing the browser generally loads the correctly updated component. This can be particularly subtle since other things change and you know that things must have been reloaded, but in fact only some of the changes reach the browser. I should add that there are no class components in the code that I’m editing, they are all functional components. It is definitely true that at least some of the changes that aren’t being picked up are in shared utility functions and not in components themselves.

More frustrating is where you substantially change a file, especially if it’s been failing to compile for a while. You get it compiling and the browser can’t load it. You can refresh the browser as much as you like, but all it’s going to do it keep reporting the same compilation error. The only work around that I’ve found for this is to kill and restart yarn start.

I’ll see if I can create reproduction steps for both of these, but I felt that it was worth giving feedback anyway since this is still alpha.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:6

github_iconTop GitHub Comments

1reaction
GuiderWGcommented, Nov 18, 2020

My project also doesn’t work correctly after the update. it can’t update my reducers in redux

0reactions
stale[bot]commented, Dec 25, 2020

This issue has been automatically closed because it has not had any recent activity. If you have a question or comment, please open a new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

react-scripts - UNPKG
1, This project was bootstrapped with [Create React App](https://github.com/facebookincubator/create-react-app). 2. 3, Below you will find some information ...
Read more >
react-error-overlay - npm.io
react-error-overlay is an overlay which displays when there is a runtime error. Development. When developing within this package, make sure you run npm...
Read more >
gatsby | Yarn - Package Manager
Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps. It combines the...
Read more >
react-scripts - NPM Package Versions - Socket - Socket.dev
#12245 fix: webpack noise printed only if error or warning (@Andrew47) ... PostCSS 8 (#11121); Fast Refresh improvements and bug fixes (#11105) ...
Read more >
No Quick Pass? No Problem! - I77 Express Lanes
Drivers have two payment options when using the NC Quick Pass on the I-77 Express Lane corridor. Use this page to learn more...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found