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

Interest in supporting react style event handlers? #24

Closed
craigmulligan opened this issue Apr 23, 2020 · 1 comment
Closed

Interest in supporting react style event handlers? #24

craigmulligan opened this issue Apr 23, 2020 · 1 comment

Comments

@craigmulligan
Copy link

This is a nice to have, right now you have to explicitly call the function, where as in react you can pass in just the declaration.

See: https://reactjs.org/docs/handling-events.html

@developit
Copy link
Owner

Since VHTML renders to static HTML strings, it is not possible to invoke event handlers. They cannot be serialized to strings.

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