短评 · ·

X 归档 2022-04-02

1 条动态 · 图 0 · 视频 0
Native javascript decorators are moving to stage 3, this is huge for web components since they currently have to be defined in a class syntax.

https://github.com/tc39/proposals#stage-3
原生 JavaScript 装饰器正在迈向 stage 3,这对 web components 意义重大,因为目前它们必须用 class 语法来定义。

https://github.com/tc39/proposals#stage-3