javascript - Will react-router affect page load time? -
for example, if have 3 routes in routes.js
file compared of 10 routes in same file. file containing 10 routes take longer time load? supposing every route import same size of component. or component imported after we've enter route?
the first page load might longer usual (still not noticeable in cases), after that, page entirely cached, resulting in super fast load times, since browser remember everything.
wiki
Comments
Post a Comment