solid
Preact
Our great sponsors
solid | Preact | |
---|---|---|
52 | 108 | |
30,813 | 35,944 | |
1.5% | 0.7% | |
8.9 | 9.3 | |
2 days ago | 2 days ago | |
TypeScript | JavaScript | |
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.
solid
-
Resources for understanding the Solid compiler
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
-
Solid JS compared to svelte?
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
What is Solid?
-
Learn how to install SolidJS with Flowbite and Tailwind CSS
import logo from './logo.svg'; import styles from './App.module.css'; import 'flowbite'; function App() { return (
Edit
Learn Solid, Tailwind CSS and Flowbite Toggle Flowbite modalsrc/App.jsx
and save to reload. -
Does solid start support CSR or SSG if so how?
There is example of each technique in Solid's main repo: https://github.com/solidjs/solid/tree/main/packages/solid-ssr/examples
- Flutter 3 の状態管理 (State、ステート): アプローチ (概念)
-
Super Charging Fine-Grained Reactive Performance
Current reactivity benchmarks (Solid, CellX, Maverick) are focused on creation time, and update time for a static graph. Additionally, existing benchmarks aren't very configurable, and don't test for dynamic dependencies.
-
a first look at solidstart
Before diving into SolidStart, it's worth taking a moment to outline the history and motivation behind the creation of Solid. Branded as "a reactive JavaScript library for building user interfaces," Ryan open sourced the framework on April 24, 2018. It was designed as a spiritual successor to the reactive programming model exemplified by KnockoutJS.
-
Deno 1.28: Featuring 1.3M New Modules
As always, less complexity and less expressive power at a given level go hand in hand: as far as I could understand, Deno as it exists right now can’t work with a relatively tame nonstandard approach to JSX such as that in Solid.js[1] (without essentially running a build step at startup), let alone a full language extension like Svelte[2] (there is a thing for that now[3], but I think it still squeezes in a build system somehow).
[1] https://github.com/solidjs/solid/discussions/332
-
Reviewing 2021 and predicting 2022
This one hit late so I put it in July - SolidJS releases version 1.0.0. Never heard of it checkout the perf chart Ryan Carniato wroteup.
Preact
-
How I built a cross-framework frontend library
At the very bottom of the image, there are 3 blocks that I chose to call application components. If you are building a cross-framework library, these can be built with whatever tools you want! Only catch is, all the tools you use to build it, will be needed by everyone consuming it. So choose wisely, and be mindful of how many kilobytes of third party code you will need in order to ship. In Schedule-X, I chose to use Preact. You will probably be fine with most lightweight virtual DOM libraries, and just like with frameworks there are a few to pick from.
-
React Jam just started, making a game in 13 days with React
>> React is not traditionally used for making games, but that's part of the fun and the challenge. R
> MS Flight Simulator cockpits are built with MSFS Avionics Framework which is React-like and MIT licensed:
https://github.com/microsoft/msfs-avionics-mirror/tree/main/...
preactjs may or may not be faster: https://preactjs.com/
Million.js is faster than preact, and lists a number of references under Acknowledgements: https://github.com/aidenybai/million#acknowledgments
> We use a novel approach to the virtual DOM called the block virtual DOM. You can read more on what the block virtual DOM is with Virtual DOM: Back in Block and how we make it happen in React with Behind the block().*
React API reference > Components > Profiler:
- Quando um framework é melhor que a manipulação nativa do DOM
-
HTML Data Attributes: One of the Original State Management Libraries
DEV is a Rails monolith, which uses Preact in the front-end using islands architecture. The reason why I mention all this is that it's not a full-stack JavaScript application, and there is no state management library like Redux or Zustand in use. The data store, for the most part on the front end, is all data attributes.
- Show HN: Cami.js – A No Build, Web Component Based Reactive Framework
-
Hacktoberfest 2023 Recap
Along the way, I not only got the oppurtunity to revise old concepts that had blurred in my memory, but also learnt about new technologies like Fresh.js, a framework from Deno (a js runtime engine) that uses Preact, a React Routing library and used Chakra UI for the first time.
-
Framework Interoperable Component Libraries Using Lit Web Components.
I've thought about this a lot while using other frameworks like Deno Fresh which uses Preact under the hood, mainly for JSX templating, but also for islands functionality. Within that framework you can't really use React component libraries. You start to think more about generating static HTML like this example from the Deno blog [A Whole Website in a Single JavaScript File, cont'd](https://deno.com/blog/a-whole-website-in-a-single-js-file-continued, which shows building a simple webpage with routes all in one typescript file, a site that serves no Javascript to the browser.
-
Nue: A React/Vue/Vite/Astro Alternative
A truly reactive Preact [1] is merely 3 kb of JS.
OTOH the need for really simple bits of interactivity does occur in real life. If the htmx [2] approach does not cu it, a micro-library like this could.
[2]: https://htmx.org/
- Astro: All-in-one web framework designed for speed
-
How are folks feeling about the React team's push toward server components?
Is Preact in that general vein? I've never used it, I only know it's "lightweight React."
What are some alternatives?
qwik - Instant-loading web apps, without effort
react-18 - Workgroup for React 18 release.
SvelteKit - web development, streamlined
Angular - Deliver web apps with confidence 🚀
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
lit - Lit is a simple library for building fast, lightweight web components.
Svelte - Cybernetically enhanced web apps
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
lit-element - LEGACY REPO. This repository is for maintenance of the legacy LitElement library. The LitElement base class is now part of the Lit library, which is developed in the lit monorepo.
astro - The web framework for content-driven websites. ⭐️ Star to support our work!
inferno - :fire: An extremely fast, React-like JavaScript library for building modern user interfaces
Mithril.js - A JavaScript Framework for Building Brilliant Applications