js files in static export
Unanswered
Transvaal lion posted this in #help-forum
Transvaal lionOP
Hi, what is all this js for in a static export? I'm just curious, my Astro app also has some js, despite both that app and this static export app just being Tailwind and html. No state, nothing imported, etc. Next 14 app router, just a single page
5 Replies
Tomistoma
next.js would at least load the react dom library on every page
@Transvaal lion Hi, what is all this js for in a static export? I'm just curious, my Astro app also has some js, despite both that app and this static export app just being Tailwind and html. No state, nothing imported, etc. Next 14 app router, just a single page
Tomistoma
although with astro, there really shouldn't be any browser-side js unless you opt into it with
client:load, client:idle directivesi emphasize "browser-side" because when you add a node or vercel adapter, for example, there will be server-side js
Transvaal lionOP
ohhhhhh ok
thank you :D