4 ms·
Contrarian take: the whole field of front-end frameworks seems to be lacking an all around good isomorphic solution to me. Is there anything that would out of
by strogonoff 4y ago
Contrarian take: the whole field of front-end frameworks seems to be lacking an all around good isomorphic solution to me.
Is there anything that would out of the box: 1) do fully static server-side rendering that outputs zero JS by default, 2) still be capable of rendering client-side interactive components where appropriate (for user agents with JS), 3) have both of the above as equal first-class citizens without contrived workarounds needed to achieve either interactivity or SSR, 4) handle all required bundling/fetching at build stage and load fast at runtime, 5) be isomorphic and leverage TypeScript typings to validate the correctness of the whole thing at build time as much as possible, and ideally 6) allow easy reuse of preexisting React components?
- no_wizard 4y agoTake a look at Qwik https://qwik.builder.io/ https://qwik.builder.io/
- tzekid 4y agoI'm using Astro + Svelte for a small project right now, and it sounds like that's the combo that you're looking for.
- mdavidn 4y agoAnother comment already mentioned Svelte. Alternatively, Hotwire Turbo or htmx might be more along the lines of what you want. Choose your own server-side language. I sprinkle in fancier frameworks when individual components need it, but this is more the exception than the rule. https://turbo.hotwired.dev/ https://turbo.hotwired.dev/ https://htmx.org/ https://htmx.org/
- seandoe 4y agoRemix.run
- chrisweekly 4y agoRemix (https://remix.run https://remix.run) comes awfully close
- aabbcc1241 4y agoTry ts-liveview (https://liveviews.cc https://liveviews.cc) if you like JSX and querySelector without VDOM
- chrisweekly 4y agoOoh, ts-liveview looks really interesting! Thnaks for sharing!