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

Опубликовано: 13 Март 2021
на канале: 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


Смотрите видео Solid.js - A Fast, Declarative, Compiled Web UI Library - Better than React.js? онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Zaiste Programming 13 Март 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 18,941 раз и оно понравилось 401 людям.