Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected Token : render #496

Open
pradeeproark opened this issue Nov 17, 2023 · 2 comments
Open

Unexpected Token : render #496

pradeeproark opened this issue Nov 17, 2023 · 2 comments

Comments

@pradeeproark
Copy link

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
@samueldominguez
Copy link

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.

@pradeeproark
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants