The SPA Dilemma
Before we enter 2023. We have React, Vue, Angular, Svelte, Solid.js and so on.
What will you choose for your productions and side projects?
(
16 comments
| 2 points
| on HN
)
What will you choose for your productions and side projects?
Personally I think React/Vue/angular are the safe bets, in that order due to popularity
- info-dump / static website: sever-side render everything, add JavaScript when needed
- app for specialized users: SPA probably (they're ok waiting for js to load if they're making money using the app)
- store-front / marketplace: A full stack framework like Next/Remix etc
The whole https://www.webtoolkit.eu website is written in Wt.
There are many challenges with react. But once you become accustomed to it and it is your default way of working, it just makes sense to keep using it. It keeps getting improved and the ecosystem keeps evolving.
JsRender can be used client-side and server-side using Nodejs for rendering templates. JsViews adds observability (one-way or two-way) to JsRender on the frontend and requires jQuery (I like jQuery, it's overhead is minor ;-).
JsViews is intuitive, modular and extremely flexible and self-documenting in my opinion. JsViews does not include a router as there are so many different ways of doing routing and depends on your needs. The concept and syntax of converters is really cool too.