Our great sponsors
-
turbo
The speed of a single-page web application without having to write any JavaScript (by hotwired)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I think SolidJS or Vue is a correct answer, also https://github.com/malinajs/malinajs is very similar to Svelte, but differs in how it handles reactivity if I remember correctly. Anyway, I would like to offer a different one.
Turbo transforms basic link clicks, form submits into ajax calls so a browser doesn't need to rerender the page (this is a significant change, becasou you actually se no blinking, because the browser doesn't have to reinitialize css or js). With the version of Turbo (previously Turbolinks) there are also frames, which basically can rerender only a part of the page. It should be easy to connect to WebSocket. And thus, application like a nicely reactive web chat is very easy to make even for backend developer.
Turbo goes nicely with Stimulus which is simple but effective library to write nice and clean code. You must of course write everything explicitly, but the code is composed of controllers, actions and events which makes it clean. I found two quick examples, click counter and tabs. What I like the most is the fact, that state is managed through html, somehthing I already use as a backend developer.