fully static, zero JS pages (no React runtime, no rehydration) + Ability to bundle raw scripts (like Astro.js) #45174
UROjQ6r80p
started this conversation in
Ideas
Replies: 4 comments
-
up this |
Beta Was this translation helpful? Give feedback.
0 replies
-
Something similar was achievable with So I double the request: we need a way to build small static pages without any JS bundle at all :) |
Beta Was this translation helpful? Give feedback.
0 replies
-
I would love to have this! |
Beta Was this translation helpful? Give feedback.
0 replies
-
I would also like this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the feature you'd like to request
Fully static pages + ability to add custom <script> out of the box (without React runtime, hydration etc.)
I've seen this thread #5054 but from the responses there one could assume this is not really a big thing.
Astro.js
proved that demand for this approach is quite big, and I think it's better to look atAstro.js
popularity, and not agatsby-plugin-no-javascript
numbers.Describe the solution you'd like
I believe this sort of syntax out of the box would be a very useful feature, and that there is a growing demand for this approach.
pages/index.js
anyfolder/script.js
possible output without React runtime, and fully tailored script bundle without React.
Describe alternatives you've considered
Astro.js - not mature enough + ecosystem not mature enough.
unstable_runtimeJS option in Next.js - "unstable", no desire to add it into Next.js as a stable feature, and no ability to add custom scripts out of the box.
Beta Was this translation helpful? Give feedback.
All reactions