Switch to react
Under the hood, preact is used to reduce dependency size. We still don't have a build stage, so htm is used instead of JSX.
This commit is contained in:
parent
62300746d3
commit
b449ace4b4
11 changed files with 734 additions and 538 deletions
5
lib/index.js
Normal file
5
lib/index.js
Normal file
|
@ -0,0 +1,5 @@
|
|||
export * from "/node_modules/preact/dist/preact.module.js";
|
||||
|
||||
import { h } from "/node_modules/preact/dist/preact.module.js";
|
||||
import htm from "/node_modules/htm/dist/htm.module.js";
|
||||
export const html = htm.bind(h);
|
Loading…
Add table
Add a link
Reference in a new issue