inferno
solid-router
Our great sponsors
inferno | solid-router | |
---|---|---|
10 | 8 | |
15,990 | 1,028 | |
0.1% | 4.8% | |
8.4 | 9.0 | |
12 days ago | 10 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
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.
inferno
-
Inferno Versions 2 through, like, 8 released.
Added a warning when rendering links with javascript: URLs 7bc3763
-
[AskJS] Is there a silver bullet for consuming Typescript libraries in a Monorepo?
I mean I don't know what your monorepo looks like, but for example infernojs (actually written with typescript) uses lerna, and lerna seems simpler than typescript references
-
New Svelte Core/Vercel Team Member
Svelte just got a lot more interesting! Dominic who is the creator of LexicalJs and InfernoJs (which is known to be insanely fast) has joined the svelte core team and is now working at Vercel full time! Here is the announcement on Twitter!
-
Virtual DOM is pure overhead
Inferno.js uses VDOM https://github.com/infernojs/inferno and is faster than Svelte according to these benchmarks https://krausest.github.io/js-framework-benchmark/2023/table.... Sooo, VDOM can improve performance?
-
Current stats show that React is still by far the most popular and beloved front-end framework
Inferno (~6 years old) uses a VDOM, just like React, but it completely smokes React in benchmarks
-
Solid vs React - the Fastest VS the Most Popular UI Library
Some might argue that React’s relatively poor performance (it’s still plenty-fast for many apps) is due to Virtual DOM and prioritization of development experience, i.e., clarity over complexity. To counter the first argument - there’s React-like Inferno. For the second one - there’s Solid.
-
The Real Cost of UI Components Revisited
1. Inferno:
-
A Look at Compilation in JavaScript Frameworks
A VDOM library like Inferno uses this information to compile its JSX directly into pre-optimized node structures. Marko, and Vue hoist their static VDOM nodes outside of their components so that they don't incur the overhead of recreating them on every render.
-
React JS FAQ: The Most Common Questions
InfernoJS
solid-router
-
Building an E-commerce Store: A Step-by-Step Guide with Solidjs and Medusa
Solid Router - https://github.com/solidjs/solid-router
-
Fastify DX and SolidJS in the Real World
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
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
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.
-
SolidJS vs. React: Comparing declarative UI libraries
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
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
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
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?
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces.
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
Mithril.js - A JavaScript Framework for Building Brilliant Applications
Svelte - Cybernetically enhanced web apps
React - The library for web and native user interfaces.
solid-transition-group - SolidJS components for applying animations when children elements enter or leave the DOM.
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
NativeScript - ⚡ Empowering JavaScript with native platform APIs. ✨ Best of all worlds (TypeScript, Swift, Objective C, Kotlin, Java). Use what you love ❤️ Angular, Capacitor, Ionic, React, Solid, Svelte, Vue with: SwiftUI, Jetpack Compose, Flutter and you name it compatible.
Angular - Deliver web apps with confidence 🚀
solid-refresh