Open treshugart opened 7 years ago
This should be in the JS tab and we should have a separate tab for JSX.
The examples have something like:
skate.define('x-test', { render() { <div /> } });
Thos should be moved to a "JSX" tab and and we should include in the "JS" tab:
const ['div'] = skate.vdom.builder('div'); skate.define('x-test', { render() { div(); // or skate.h('div'); } });
Is using the builder API better to show than using skate.h?
skate.h
Why not rather using skate.h instead of skate.vdom in "JS" tab ?
skate.vdom
P.S.: vdom.element and vdom.text are deprecated in docs
vdom.element
vdom.text
@Hotell this issue was created pre-deprecation. I'll update.
This should be in the JS tab and we should have a separate tab for JSX.
The examples have something like:
Thos should be moved to a "JSX" tab and and we should include in the "JS" tab:
Is using the builder API better to show than using
skate.h
?