_hyperscript
_hyperscript copied to clipboard
Unexpected Token : render
Is the render command as described in here exported in the distribution on unpkg?
I can't get https://hyperscript.org/commands/render/ to work.
<a _="on click render #address-title with (a:1) then put it into #address_type">addressed?</a>
"Unexpected Token : render
on click render #address-title with (a:1) then put it into #address_type
This command is available by including the dist/template.js file. It's not included in the main file. It's similar to the worker situation, which is documented here.
Thank you, that works @samueldominguez , can someone take a look at the related PR to update this info in the doc. Would save some time for someone using this feature.