Solid(solidjs/solid)
solidjs/solid 是一个用 TypeScript 编写、主打细粒度响应式的 UI 构建库。适合追求高性能渲染且不需要虚拟 DOM 的开发者。
36.4k · TypeScript
直接从 npm 引入 solid-js 就能省去虚拟 DOM 的开销,换来直接的响应式更新。虽然必须全盘接受它基于代理的生态和 JSX 风味,但能拿到极快的 DOM 变更性能。
README 摘录
<p> <img src="https://assets.solidjs.com/banner?project=Library&type=core&version=2.0" alt="SolidJS" /> </p> [](https://github.com/solidjs/solid/actions/workflows/main-ci.yml) [](https://coveralls.io/github/solidjs/solid?branch=main) [](https://www.npmjs.com/package/solid-js) [](https://www.npmjs.com/package/solid-js) [](https://discord.com/invite/solidjs) [](https://www.reddit.com/r/solidjs/) **[Website](https://www.solidjs.com/) • [Docs](https://docs.solidjs.com/) • [Tutorial](https://docs.solidjs.com/tutorial) • [Playground](https://playground.solidjs.com/) • [Discord](https://discord.com/invite/solidjs)** Solid is a declarative JavaScript library for building user interfaces. Instead of a Virtual DOM, it compiles templates to real DOM nodes and updates them with fine-grained reactivity. Declare your state and use it throughout your app — when a piece of state changes, only the code that depends on it re-runs. ## At