solid VS solid-router

Compare solid vs solid-router and see what are their differences.

solid

A declarative, efficient, and flexible JavaScript library for building user interfaces. (by solidui)

solid-router

A universal router for Solid inspired by Ember and React Router (by solidjs)
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 solid-router
52 8
31,047 1,056
1.6% 4.5%
8.8 9.0
3 days ago 2 days ago
TypeScript TypeScript
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

solid-router

Posts with mentions or reviews of solid-router. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-08.
  • Building an E-commerce Store: A Step-by-Step Guide with Solidjs and Medusa
    3 projects | dev.to | 8 Mar 2023
    Solid Router - https://github.com/solidjs/solid-router
  • Fastify DX and SolidJS in the Real World
    12 projects | dev.to | 20 Jul 2022
    Fastify DX follows the same routing principles as Next.js and Remix. The first page is /pages/index.{js|ts} and other pages can be linked to by using solid-app-router. Dashboard would link to /pages/dashboard.{js|ts} and SolidJS Article would link to /pages/articles/[id].{js|ts}. SSR, Streaming etc. can be fine-tuned by exporting variables in the page. Check out the examples for streaming, SSR, etc. in the fastify dx starter kit
  • Routing with single page web application
    2 projects | /r/solidjs | 12 Jul 2022
    Hello, I've recently created a single page web app with multiple routes. I'm using vercel for hosting and solid app router (https://github.com/solidjs/solid-app-router) for the router bit. When I go to my page on vercel and click on a link, for example, /help then reload the page it leads to 404 not found. If I go straight to that link it has the same error. In my dev environment it functions as I'd expect. After reloading it loads the help page. Is there a way to configure vercel to behave correctly?
  • Show HN: I made React with a faster Virtual DOM
    12 projects | news.ycombinator.com | 31 May 2022
    Agree wrt. Solid being easier to reason about.

    Is the router you are using solid-app-router [1] ? Have been working with it for last few months and it has been generally stable (my usecases are not particularly complex though).

    The docs for the solidjs core has also massively improved recently.

    [1] https://github.com/solidjs/solid-app-router

  • SolidJS vs. React: Comparing declarative UI libraries
    5 projects | dev.to | 27 Jan 2022
    With regards to third-party libraries, Solid does not have a lot yet, but it does have first-party libraries. Its first-party libraries are the equivalent of other popular libraries in other JavaScript libraries, such as Solid App Router for routing, Solid Testing Library for writing component tests, and Solid Transition Group for animations.
  • Add vite-plugin-pages to SolidJS
    2 projects | dev.to | 25 Jan 2022
    Since official SolidJS starter template are vite-based we can easily use vite-plugin-pages to create automatic routing a.k.a file based routing with official solid-app-router package.
  • Solidjs – JavaScript UI Library
    9 projects | news.ycombinator.com | 29 Nov 2021
    Hmm.. Remix is based around their router. And a nested router is what we need to for Solid (see Solid App Router https://github.com/solidjs/solid-app-router). I think the challenge is that we don't render like React. Not at all. I've found most cases where that assumption exists to be incompatible.

    That being said the work has already started on a starter with Nested Routing/Automatic File Based Routing + Code Splitting/Parallelized Data Fetching/Streaming SSR/Multiple deployment adapters. We're given it the same focus on performance that we've given the rest of Solid.

    Here is the recent Vercel Edge Function demo we made with it: https://twitter.com/RyanCarniato/status/1453283158149980161

  • Solid vs React - the Fastest VS the Most Popular UI Library
    11 projects | dev.to | 30 Jun 2021
    Solid has an impressive collection of first-party tools developed by its creator - Ryan Carniato - and other contributors. There you’ll find Solid equivalents of some popular libraries from other ecosystems, like Solid Transition Group, Solid Refresh (for Hot Module Reloading - HMR), Solid App Router, and more!

What are some alternatives?

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

qwik - Instant-loading web apps, without effort

solid-transition-group - SolidJS components for applying animations when children elements enter or leave the DOM.

SvelteKit - web development, streamlined

solid-refresh

Angular - Deliver web apps with confidence 🚀

js-framework-benchmark - A comparison of the performance of a few popular javascript frameworks

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

lume - Create 3D web applications with HTML. Bring a new depth to your DOM!

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

mikado - Mikado is the webs fastest template library for building user interfaces.

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

fastify-dx - Archived