reactpy
reactpy copied to clipboard
Don't strip Script tag elements
Current Situation
The client code currently strips script tags and replaces them with div.
For example, this script element wont appear within the browser's DOM.
@component
def my_component():
return html.script("console.log('hello_world');")
Proposed Actions
Remove this behavior, since we now officially support script within ReactPy. There's no longer any reason to visually hide the script tag.
@Archmonger Please assign this stuff to me, I think I can do this.
@rishabhRsinghvi We do not use the GitHub issue assignment feature. Feel free to open a PR and link it to this issue.