We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
extends
There's a use-case for custom elements, that allows extending built-in components https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#Customized_built-in_elements. That allows to solve inherent problems of JSX, as stated in the preact issue developit/htm#81
If remount would take extends: tagName as an option, it would enable component-less JSX:
extends: tagName
htm` <nav is="app-nav"/> <main is="app-page"> <header slot="header" /> <section slot="content">...</section> <footer slot="footer" /> </main> `
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There's a use-case for custom elements, that allows extending built-in components https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements#Customized_built-in_elements. That allows to solve inherent problems of JSX, as stated in the preact issue developit/htm#81
If remount would take
extends: tagName
as an option, it would enable component-less JSX:The text was updated successfully, but these errors were encountered: