Skip to content

Commit 9fe7e3c

Browse files
committed
* core: update pnpm lockfile version and dependencies, including vhtml integration in core package, enhancing rendering capabilities and ensuring compatibility with updated libraries.
1 parent 3aa2f51 commit 9fe7e3c

3 files changed

Lines changed: 2672 additions & 3338 deletions

File tree

lib/core/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,8 @@
1515
"class"
1616
]
1717
}
18+
},
19+
"dependencies": {
20+
"vhtml": "^2.2.0"
1821
}
1922
}

lib/core/src/react/htm.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
import htm from 'htm';
2+
import vhtml from 'vhtml';
23
import {h} from './preact';
34

4-
const html = htm.bind(h);
5+
const jsx = htm.bind(h);
6+
const html = htm.bind(vhtml);
57

68
export {
79
htm,
810
html,
9-
html as jsx,
11+
jsx,
12+
vhtml,
1013
};

0 commit comments

Comments
 (0)