V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
594mantou
V2EX  ›  分享创造

让我们用 WebComponents 来写 WebApp 吧

  •  
  •   594mantou ·
    mantou132 · 2020-12-23 14:25:01 +08:00 · 1861 次点击
    这是一个创建于 1217 天前的主题,其中的信息可能已经有所发展或是发生改变。

    https://gem.js.org/

    快速创建响应式元素

    3 条回复    2020-12-24 12:06:34 +08:00
    hantsy
        1
    hantsy  
       2020-12-23 15:24:25 +08:00
    看到 lit-html 独立了,以前是 Polymer 下一个项目。

    (另外八挂一下,很多年前的 Polymer 1.0 与现在大红大紫的 Vue 设计看起来很像,JS,CSS,template 放一个娘胎里面)
    594mantou
        2
    594mantou  
    OP
       2020-12-24 01:18:54 +08:00
    @hantsy Polymer 以前着重 import html 这个概念把。
    CallMeSoul
        3
    CallMeSoul  
       2020-12-24 12:06:34 +08:00
    google 不是有个专门用 WebComponents 的框架么?
    https://amp.dev/zh_cn/?referrer=ampproject.org
    一直在推广,但好像短时间也火不起来,还是要等各大浏览器完全兼容最新的 es 标准吧
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2830 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:20 · PVG 08:20 · LAX 17:20 · JFK 20:20
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.