Allow users to register element names
未關閉
- 主要語言
- JavaScript
- 星號
- 9k
- 分支
- 181
- PR 合併指標
- 30 天內沒有已合併 PR
描述
https://github.com/esxjs/esx looks a lot like HTM, but instead of handling components as `<${Foo}>`, you have to (get to?) pre-register component names, like this: `esx.register({Foo})`
Then you can use custom components like this:
```js
esx`Blah`
```
It would be cool if this were an option for HTM as well.
貢獻指南
評估
這個 Issue 還沒有評估資料。