Solid.js - A Fast, Declarative, Compiled Web UI Library - Better than React.js?

Published: 13 March 2021
on channel: Zaiste Programming
18,941
401

Solid is a fast, declarative JavaScript library for creating user interfaces in web applications. It's similar to React.js, Vue or Angular. It does not use a Virtual DOM. Similar to Svelte, it comes with a compiler that compile templates down to real DOM nodes and wrap updates in fine grained reactions. This results in heavily optimised, ultra-lightweight, and crazy-fast web application. It’s extremely efficient, close to the optimally hand-written plain JavaScript. Thanks to its compiler-based approach Solid can easily support well-known React goodies like Context, Suspense, SSR, async rendering, and more without sacrificing on the resulting app’s size (the compiler includes only what you use) or performance.

Solid follows the same philosophy as React with unidirectional data flow, read/write segregation, and immutable interfaces. It just has a completely different implementation that forgoes using a Virtual DOM.

Benchmarks:
1. JavaScript Framework Benchmark
https://krausest.github.io/js-framewo...
2. Bundle Size
https://dev-to-uploads.s3.amazonaws.c...
3. Server-Side Rendering
https://dev-to-uploads.s3.amazonaws.c...

#zaisteprogramming #solidjs #reactjs


Watch video Solid.js - A Fast, Declarative, Compiled Web UI Library - Better than React.js? online without registration, duration hours minute second in high quality. This video was added by user Zaiste Programming 13 March 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 18,941 once and liked it 401 people.