We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
these are rendered on the server, then hydrated
from reactpy import component, html def logic(): return "server" @component def page(logic=logic()): return html.h1(f"Hello, from the {logic}!")
similar to regular files BUT you CANNOT use hooks you must include a logic() function, and put it as a param in the component
logic()