hast-util-to-jsx-inline-script

1.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i hast-util-to-jsx-inline-script

Weekly Downloads

7

Version

1.1.0

License

MIT

Unpacked Size

27.8 kB

Total Files

12

Last publish

Collaborators

  • jkrishna