What's the best way to load JavaScript code for specific pages on demand in React?
I am building a Single Page App with React and I don't want to create a huge bundle and load it. Instead I would like to break it into smaller chunks and load them on specific routes on demand. What's the best way to do it in React or JavaScript in general?