Answer the question
In order to leave comments, you need to log in
SPA, what to do with fat bundle.js?
Wrote a spa with routing on react-router.
Now all the code is rendered into one /build/bundle.js.
Is it possible to somehow break it into pieces and so that when I route to / I don’t load components from / about, which, for example, will be in / build/chunk.about.js?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question