Svelte(sveltejs/svelte)
Svelte 是一个将声明式组件直接编译成精细化 DOM 操作代码的编译器,免去了沉重的运行时。适合想要精简网页应用且不需要虚拟 DOM 开销的开发者。
89.7k · JavaScript
仓库里通过 assets/banner_dark.png 展现了视觉风格,核心细节可在 svelte.dev 查阅。如果你手头正维护着一套基于传统重型虚拟 DOM 且生态庞大的成熟项目,盲目推倒重来并不能带来实际的架构收益。
README 摘录
<a href="https://svelte.dev"> <picture> <source media="(prefers-color-scheme: dark)" srcset="assets/banner_dark.png"> <img src="assets/banner.png" alt="Svelte - web development for the rest of us" /> </picture> </a> [](LICENSE.md) [](https://svelte.dev/chat) ## What is Svelte? Svelte is a new way to build web applications. It's a compiler that takes your declarative components and converts them into efficient JavaScript that surgically updates the DOM. Learn more at the [Svelte website](https://svelte.dev), or stop by the [Discord chatroom](https://svelte.dev/chat). ## Supporting Svelte Svelte is an MIT-licensed open source project with its ongoing development made possible entirely by fantastic volunteers. If you'd like to support their efforts, please consider: - [Becoming a backer on Open Collective](https://opencollective.com/svelte). Funds donated via Open Collective will be used for compensating expenses related to Svelte's development such as hosting costs. If sufficient donations are received, funds may also be used to support Svelte's development more directly. ## Roadmap You may view [our roadmap](https://svelte.dev/roadmap) if you'd like to see what we're currently working on. ## Contributing Please see the [Contributing Guide](CONTRIBUTING.md) and the [`svelte`](packages/svelte) package for information on contributing to Svelte. ## I