React Alternatives
Cluster discusses alternatives to React for web development, favoring lighter options like Svelte, HTMX, AlpineJS, Tailwind, or server-side rendering approaches for simpler, more performant web apps.
Activity Over Time
Top Contributors
Keywords
Sample Comments
so...anybody using it to build web apps in lieu of react?
The article says "use React (or Vue, or Svelte, or Angular if you're a masochist - the point is a modern framework"
If you want a job, it's probably going to be React. But for personal projects, I hear Svelte would be up your alley. SolidJS is another nice option if you want to get into JSX templating, and more into something like React hooks that actually makes sense and performs close to vanilla JS.But recently (and maybe you're already familiar), a library called htmx started gaining popularity, which you might like. It doesn't require a build step, npm or node to use it. I'm using i
Reading your question, I think Svelte or SvelteKit is probably a good option like you said. It's basically just JS/HTML/CSS as normal but if you want interactive UI stuff it's very simple to add. At this point SvelteKit is totally stable, it's just not as popular as React so it doesn't have as much community / LLM support.
I am not a front-end developer. What are better alternatives to React nowadays?
Iβm doing one right now.Using Rust, Diesel(Orm), Postgres, compiled jinja2 templates (Askama), and a smattering of JavaScript with AlpineJS, and Tailwind. I have 100 loc JavaScript that makes it easy to replace only parts of the page via Ajax calls.Really simple stack, really lightweight, a joy to debug, and runs instantly. The delay on my dev laptop is below 10ms, itβs undetectable.So much better than React and Python that I use at work in nearly any dimension. I hope the mvp works out
I'd recommend taking a look at Svelte as well, it compiles down to "raw" JavaScript with very little client-side bloat.
Using html (and tailwindcss) have been the major productivity gain in web front-end development for us.The speed on the UI is noticeable for our users (a lot of underpowered androids!) and the interactivity is equal than our prior vue version.React/Vue is like Nosql: Good for certain niche scenarios but overkill for most use cases. Plain html/css is pretty performant and so easy to do than duplicate the state (+validations, structures, routes,...) between client/serve
If your goal is rapid development, maybe consider using server side rendering with Phoenix, Django, Rails, etc.
How is that any better than React + ?