Slow devServer after upgrading to CRA 4.0.0 #9909
-
I feel that my devServer is considerably slower (~ x5) after upgrading to CRA 4.0.0. I removed node_modules and reinstalled my deps, but performance was not affected. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Same. At least with fast-refresh. Getting a change to show used to take ~0.5 seconds, now it takes 3 seconds. Before I was using CRA 3 with |
Beta Was this translation helpful? Give feedback.
-
Likely this? #9886. I'm hoping they release a patch version with it in soon so I can move to v4. |
Beta Was this translation helpful? Give feedback.
-
same. around 15s every time for small change in almost massive code base |
Beta Was this translation helpful? Give feedback.
-
I'm still seeing very slow start time with 4.0.1, but the fast refresh time is on par with the previous time needed to reload the page. CRA v3 would previously start to reload the page a fraction quicker, but the advantage now is that I'm not having to make a load of network requests to bootstrap the site after each code change, so I think the net result is a quicker dev experience. What are your experiences? |
Beta Was this translation helpful? Give feedback.
Likely this? #9886.
I'm hoping they release a patch version with it in soon so I can move to v4.