You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug: component box with a child component box doesn't render #6
A component returning a box with a child component returning another box doesn't render
Version
pre v.0.0.1
Steps to Reproduce
Create two components:
fromreactpyimportcomponent, run, htmlfromreactpy_materialimportbox@component# @componet is removed: OKdefhello_box():
returnbox(
# return html.div( # OK if s/box/html.div/html.h1(
{"key": "title1"},
"Hello World"
),
key="hello box"
)
@componentdefhello_box_inside_box():
returnbox(
hello_box(),
key="external box"
)
run(hello_box_inside_box)
# run(hello_box) # running child component - OK
Run the code and inspect in the browser and nothing is rendered, resulting in a blank page.
Inspect the web page and find the error: "Uncaught DOMException: Failed to execute 'createElement' on 'Document': The tag name provided ('') is not a valid name."
Thanks for the report @marceloakira ! I will try to reproduce and investigate it soon, but by the error looks like its something related to core reactpy-material.
Activity
williamneto commentedon May 24, 2024
Thanks for the report @marceloakira ! I will try to reproduce and investigate it soon, but by the error looks like its something related to core reactpy-material.
wangzyh commentedon Oct 22, 2024
same problem

Archmonger commentedon Jan 31, 2025
Issue has been opened in ReactPy core, will be resolved in the coming months.
Archmonger commentedon Dec 11, 2025
This issue has been resolved within ReactPy