solid VS Svelte

Compare solid vs Svelte and see what are their differences.

solid

A declarative, efficient, and flexible JavaScript library for building user interfaces. (by solidui)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
solid Svelte
52 632
31,000 76,402
1.4% 1.1%
8.9 9.9
10 days ago 3 days ago
TypeScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

solid

Posts with mentions or reviews of solid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-18.
  • Resources for understanding the Solid compiler
    3 projects | /r/solidjs | 18 Apr 2023
    The reactivity core, which is in https://github.com/solidjs/solid This is where you'll see the reactivity runtime implementation. Take note that Solid's reactivity doesn't rely on compile-time magic
  • Are there any go backends that work with solid?
    1 project | /r/solidjs | 14 Apr 2023
    I did try this but I'm not sure what you mean with the ssrLoadFrom. Is there any documentation on this, all I could find was the examples folder in solidjs: solid-ssr?
  • Solid JS compared to svelte?
    2 projects | /r/solidjs | 17 Mar 2023
    This is very true. I really hate svelte single file components. But then I tried JSX for breaking things down. I love solid but I don't feel really good about angle brackets within C style syntax. I saw this Scala library that stick with simple statically typed function syntax than html tags. I don't understand why people still wants to stick with xml like tags. In laminar markup is written like this scala div( h1("Hello world", color := "red"), inputCaption, input(inputMods, name := "fullName"), div( ">>", button("Submit"), "<<" ) ) I wish solid team makes their HyperScript syntax as performant as JSX.
  • Building an E-commerce Store: A Step-by-Step Guide with Solidjs and Medusa
    3 projects | dev.to | 8 Mar 2023
    What is Solid?
  • Learn how to install SolidJS with Flowbite and Tailwind CSS
    6 projects | dev.to | 20 Feb 2023
    import logo from './logo.svg'; import styles from './App.module.css'; import 'flowbite'; function App() { return (
    logo

    Edit src/App.jsx and save to reload.

    Learn Solid, Tailwind CSS and Flowbite Toggle Flowbite modal
    ); } export default App;
  • Does solid start support CSR or SSG if so how?
    3 projects | /r/solidjs | 14 Feb 2023
    There is example of each technique in Solid's main repo: https://github.com/solidjs/solid/tree/main/packages/solid-ssr/examples
  • Proposal for separation of concerns and immutable state
    1 project | /r/solidjs | 26 Jan 2023
    I basically came up with an idea that is much like flutter's bloc pattern, and probably waht ryansolid was referring to in his reply to this issue when he said he made his own version of redux that codifies state changes instead of immutable state.
  • Flutter 3 の状態管理 (State、ステート): アプローチ (概念)
    3 projects | dev.to | 7 Jan 2023
  • SolidJS Crash Course - Building a REST API Client - Part 1
    1 project | dev.to | 1 Jan 2023
  • Stores and indexed accessors
    1 project | /r/solidjs | 20 Dec 2022
    After seeing how inactive this sub was, I took it to Github: https://github.com/solidjs/solid/discussions/1440

Svelte

Posts with mentions or reviews of Svelte. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-21.
  • How to optimise React Apps?
    5 projects | dev.to | 21 Apr 2024
    React has introduced measures like batching state updates, background concurrent rendering and memoization to tackle this. My opinion is that the best way to solve the problem is by improving their reactivity model. The app needs to be able to track the code that should be re-run on updating a given state variable and specifically update the UI corresponding to this update. Tools like solid.js and svelte work in this manner. It also eliminates the need for a virtual DOM and diffing.
  • Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
    11 projects | dev.to | 5 Apr 2024
    Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and more…
  • Rich Harris: Svelte parses HTML all wrong
    1 project | news.ycombinator.com | 5 Apr 2024
  • Mario meets Pareto: multi-objective optimization of Mario Kart builds
    2 projects | news.ycombinator.com | 4 Apr 2024
  • Svelte parses HTML all wrong
    1 project | news.ycombinator.com | 4 Apr 2024
    1 project | news.ycombinator.com | 3 Apr 2024
  • Svelte for Beginners: Easy Guide
    2 projects | dev.to | 2 Apr 2024
    Svelte is a powerful web framework that offers a fresh approach to building web applications. Its simplicity, reactivity model, and built-in features make it an excellent choice for developers looking to create efficient and maintainable applications. By following this guide, you should now have a good understanding of how to get started with Svelte and build your first components, routes, and transitions. You can read more about svelte on the official Svelte website.
  • Trying to use dotnet watch with Svelte
    2 projects | dev.to | 17 Mar 2024
    Use .NET features (especially dotnet watch) as a setup for a client-side Svelte application, starting from a simple C# console app.
  • Why I keep an eye on the Vue ecosystem and you should too
    9 projects | dev.to | 6 Mar 2024
    Volar originally was Vue3's language support tool for VScode (I don't know about other editors). By today, volar has become a language indipendent framework to create language tools. It might still be a bit early for the dev with skill issues like me to use it and build some tools, but astro and svelte already use Volar to create their language tools.
  • Svelte Tenets by Rich Harris
    1 project | news.ycombinator.com | 10 Feb 2024

What are some alternatives?

When comparing solid and Svelte you can also consider the following projects:

qwik - Instant-loading web apps, without effort

Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.

SvelteKit - web development, streamlined

lit - Lit is a simple library for building fast, lightweight web components.

Angular - Deliver web apps with confidence 🚀

solid - A declarative, efficient, and flexible JavaScript library for building user interfaces. [Moved to: https://github.com/solidui/solid]

Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.

astro - The web framework for content-driven websites. ⭐️ Star to support our work!

awesome-blazor - Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.

inferno - :fire: An extremely fast, React-like JavaScript library for building modern user interfaces

Next.js - The React Framework