Open Archmonger opened 2 years ago
The client code currently strips script tags and replaces them with div.
script
div
For example, this script element wont appear within the browser's DOM.
@component def my_component(): return html.script("console.log('hello_world');")
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.
Current Situation
The client code currently strips
script
tags and replaces them withdiv
.For example, this script element wont appear within the browser's DOM.
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.