短评 · ·

X 归档 2021-08-06

1 条动态 · 图 0 · 视频 0
A new side project I've been working on recently, Ocean, a web component server rendering template function: https://github.com/matthewp/ocean

It will render your custom elements to declarative shadow roots and add the polyfill for you.
我最近在做的一个新副业项目:Ocean,一个 web component 服务端渲染模板函数:https://github.com/matthewp/ocean

它会把你自定义元素渲染成 declarative shadow root,并自动帮你加上 polyfill。