1.1.0 • Published 11 months ago

hast-util-to-jsx-inline-script v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

This is a cutom fork to implement script tag conversions. Inline scripts don't execute by default in JSX. As the contents are added to DOM using innerHTML. And DOM don't execute the scritps that are added using innerHTML.

You need to rely on some custom react / next / preact platform specific components. So, forked the main repo.

Thanks to the original authors, and please head to the main repository

This will generate a invalid JSX if not used with external components for script execution.