from reactpy import component, html
from reactpy_django.components import pyscript_component


@component
def server_side_component():
    return html.div(
        pyscript_component(
            "./example_project/my_app/components/root.py",
            initial="<div> Loading ... </div>",
        ),
    )