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.
Current Situation
The client code currently strips
scripttags 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
scriptwithin ReactPy. There's no longer any reason to visually hide the script tag.