3 ms·
Yes. Or hyperscript as my parent posted. I'd love to see an example of preact with it. But looking at the repo https://github.com/hyperhype/hyperscript https:/
by hu3 6y ago
Yes. Or hyperscript as my parent posted. I'd love to see an example of preact with it.
But looking at the repo https://github.com/hyperhype/hyperscript https://github.com/hyperhype/hyperscript I have a hard time imagining how preact can work together. They seem to overlap in functionality.
- hajile 6y agoYou can either use their native `h` (basically createElement in React) https://preactjs.com/guide/v10/tutorial/ https://preactjs.com/guide/v10/tutorial/ or you can use the full hyperscript markup library https://github.com/queckezz/preact-hyperscript https://github.com/queckezz/preact-hyperscript