Haven’t tried to do that, so not sure. Using next/dynamic might lead to one additional JS bundle.
Also, if you want multiple entrypoints (like pages/index.js and pages/account.js) you’d need to remember to do the dynamic import in each file separately.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Haven’t tried to do that, so not sure. Using
next/dynamic
might lead to one additional JS bundle.Also, if you want multiple entrypoints (like
pages/index.js
andpages/account.js
) you’d need to remember to do the dynamic import in each file separately.