TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Any web frontend library that fallbacks to SSR if JavaScript is missing?

20 pointsby _448about 2 years ago
What web frontend frameworks&#x2F;libraries are available that fallbacks to server-side rendering if JavaScript is unavailable on the client-side?<p>I can think of Unpoly, but are there any other options available?

7 comments

pcthrowawayabout 2 years ago
I&#x27;m pretty sure Svelte and Sveltekit can do this for navigation. Maybe Gatsby too.<p>But keep in mind a lot of the interactivity won&#x27;t work the same.<p>Generally the page is pre-rendered on the server, and then links are hydrated to prevent page refreshes on navigation. If Javascript is off, the browser does a page refresh when the user clicks links, and the server pre-renders those.<p>In fact, I think a lot of frameworks can do this now: Qwik, Next, etc.
评论 #35820342 未加载
hoofheartedabout 2 years ago
Yes, I have built one on top of Next.js.<p>What do you think? Is this what you are looking for?<p><a href="https:&#x2F;&#x2F;www.elegantframework.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.elegantframework.com&#x2F;</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;elegantframework&#x2F;elegant-cli">https:&#x2F;&#x2F;github.com&#x2F;elegantframework&#x2F;elegant-cli</a>
v0idzer0about 2 years ago
React? Pretty trivial to set this up in React. But why fallback when you can just do both. SSR always. Then let the js run if its enabled. This is what Next.js and countless other react frameworks do
seabysaltabout 2 years ago
Definitely next.js that&#x27;s why it&#x27;s also way better for SEO than react
satvikpendemabout 2 years ago
NextJS does this.
评论 #35823501 未加载
ushakovabout 2 years ago
Remix
yieldcrvabout 2 years ago
Can next js do this?
评论 #35815875 未加载
评论 #35815876 未加载