Thank you, Andrew, for liking my article (and following me!).
I wasn't articulate enough about this snippet. It's the HTML code generated by Next.js, not the JS code to be compiled by Next.js. I've revised the sentence that introduces this snippet in the article.
Hope it's now clear to you.
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.
I am a bit confused by this particular snippet (referencing _document.js I'm assuming)
<html>
<body>
<div id="__next">
<div id="map"></div>
</div>
</body>
</html>
What about the
<Main />
and<NextScript />
next/document components wrapped within<body></body>
?dev-to-uploads.s3.amazonaws.com/up...
Thank you, Andrew, for liking my article (and following me!).
I wasn't articulate enough about this snippet. It's the HTML code generated by Next.js, not the JS code to be compiled by Next.js. I've revised the sentence that introduces this snippet in the article.
Hope it's now clear to you.