The SPA Dilemma

2022-10-3114:50816

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?

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?


Comments

  • By zach_garwood 2022-10-3115:272 reply

    I'm going to try an end run around the dilemma and try htmx: https://htmx.org/

    • By caprock 2022-10-3117:23

      Combining htmx, _hyperscript, tailwind, and my preferred server side tech has really minimized the web ui friction for my projects. Good luck with the end run and I hope it works well for you too.

    • By adfm 2022-10-3121:191 reply

      htmx + AlpineJS + tailwind is becoming a popular combo.

  • By Raed667 2022-10-3116:04

    Use the right tool for the right project:

    - 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

  • By dinkleberg 2022-10-3116:33

    I’m going to continue to use react for pretty much everything. The beauty is you can use a consistent approach for building pages, along with a massive community. But unlike the React of 2016, you have many options for how to serve it. Single page app? Server rendered? Statically generated? Some combination? You can even build mobile and desktop apps with it (w/ react native).

    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.

HackerNews