DEV Community

Discussion on: How to retry when React lazy fails

Collapse
 
rainydaydy profile image
董雨

when use contenthash, if your file don't change, but add a new route, the chunkId will change,so the bundle is change but the filename doesn't change, when load chunk 1, the resource's chunkId maybe 2, so load chunk failed