News for hackers. Stuff that matters.
Re:Marko: An HTML-Based Language by strogonoff on Tuesday January 31, 2023 @09:51AM (#34595687)
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?

Re:Marko: An HTML-Based Language by mdavidn on Tuesday January 31, 2023 @10:35AM (#34596381)
Another 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://htmx.org/

Re:Marko: An HTML-Based Language by tzekid on Tuesday January 31, 2023 @10:25AM (#34596251)
I'm using Astro + Svelte for a small project right now, and it sounds like that's the combo that you're looking for.
Re:Marko: An HTML-Based Language by no_wizard on Tuesday January 31, 2023 @10:25AM (#34596247)
Take a look at Qwik

https://qwik.builder.io/

Re:Marko: An HTML-Based Language by seandoe on Tuesday January 31, 2023 @11:18AM (#34597118)
Remix.run
Re:Marko: An HTML-Based Language by chrisweekly on Tuesday January 31, 2023 @12:25PM (#34598209)
Remix (https://remix.run) comes awfully close
Re:Marko: An HTML-Based Language by aabbcc1241 on Tuesday January 31, 2023 @02:10PM (#34600187)
Try ts-liveview (https://liveviews.cc) if you like JSX and querySelector without VDOM
Re:Marko: An HTML-Based Language by chrisweekly on Wednesday February 01, 2023 @07:49AM (#34609726)
Ooh, ts-liveview looks really interesting! Thnaks for sharing!