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
CRA 3 not loading/hydrating javascript: The resource (*.chunk.js) was preloaded using link preload but not used within a few seconds from the window's load event.
#438
Closed
kmcaloon opened this issue
Jan 30, 2020
· 3 comments
Not sure where to even start here. I took a look at similar issues i.e. #264 but nothing seems to be working for me. For what it is worth I am using a custom craco config and running react-snap programmatically after everything is finished:
The problem occurs no matter how I configure the options. Any idea how I can start troubleshooting?
The text was updated successfully, but these errors were encountered:
kmcaloon
changed the title
CRA 3 not hydrating javascript: The resource (*.chunk.js) was preloaded using link preload but not used within a few seconds from the window's load event.
CRA 3 not loading/hydrating javascript: The resource (*.chunk.js) was preloaded using link preload but not used within a few seconds from the window's load event.
Jan 30, 2020
Update turns out it works for me, but only if I use serve -s build. I thought this lib let you serve the index.html as an HTML file without needing a server, but I guess I misunderstood.
So everything is working beautifully apart from my app not hydrating after loading as you can see on my demo site: https://neutrino-server.site/courses/basic-flight-training/tampa-fl/
Not sure where to even start here. I took a look at similar issues i.e. #264 but nothing seems to be working for me. For what it is worth I am using a custom craco config and running react-snap programmatically after everything is finished:
The problem occurs no matter how I configure the options. Any idea how I can start troubleshooting?
The text was updated successfully, but these errors were encountered: