Hi i recently started working on a reactjs project and came accross one problem statement of vendor chunks files downloading. There are various routes in the Project like:
*/insurance : Landing page
*/insurance/listing : Listing Page
*/insurance/details : Details Page ....
but when a user is on any page let say Listing, all the chunks files are getting loaded for other pages also where user haven't interacted.
Need to optimise these files loading only for a particular screens. What steps i should take to achieve this.
Thanks for the help in advance.