3

欧雷说:「突然觉得 Web Components + Svelte 不错,这么看来我没啥可纠结的了——单纯...

 2 years ago
source link: https://ourai.ws/murmurs/1fntr9l80/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

欧雷说:「突然觉得 Web Components + Svelte 不错,这么看来我没啥可纠结的了——单纯的 ...」

欧雷
发表于 2021-12-27 19:44

突然觉得 Web Components + Svelte 不错,这么看来我没啥可纠结的了——

单纯的 Web Components 没有响应式更新,如果要加的话,就是又做了一个 Svelte 类的东西,所以不如直接用。

对于使用者来说 Vue 和 Svelte 的体验是类似的,但 Svelte 更接近原生 Web 前端。

基于 Web Components 的直接就叫 handie,把 Svelte 作为增强附加项,而不是看做是一个单独的技术栈——这才是 Handie 的终极方案,对 Vue 和 React 组件的支持采取其他方式适配。

当 handie-react 搞好之后,是弄 Web Components 还是 Svelte 呢?查看详情

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK