79790857

Date: 2025-10-15 06:41:07
Score: 2
Natty:
Report link

You probably should take a look at lazy loading your routes. Since your index.js is so big, i guess you are not doing any lazy loading of routes and thus end up with 1 giant bundle. Lazy loading routes is dependent on the router you are using, but for react-router i would take a look at https://reactrouter.com/6.30.1/route/lazy#lazy

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Kenneth Van den Berghe