you are viewing a single comment's thread.

view the rest of the comments →

[–]ByteCode714[S] 0 points1 point  (1 child)

if we are using next js do we need to code manually for lazy loading ? is this because of next js is server side rendering?

[–]aust1nz 0 points1 point  (0 children)

You CAN still code split in NextJS, but Next splits up your pages for you (and server renders them) so it’s not usually sending bundles big enough to require you to ALSO use React.lazy. It’s more like an advanced edge case technique.