MCPcopy Index your code
hub / github.com/reactive-python/reactpy / Root

Function Root

src/py/reactpy/tests/test_core/test_layout.py:356–357  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

354 @reactpy.component
355 @add_to_live_hooks
356 def Root():
357 return reactpy.html.div()
358
359 async with reactpy.Layout(Root()) as layout:
360 await layout.render()

Calls 9

use_toggleFunction · 0.90
use_stateFunction · 0.90
HasStateFunction · 0.85
FirstComponentFunction · 0.85
SecondComponentFunction · 0.85
useMethod · 0.80
SomeComponentFunction · 0.70
ChildFunction · 0.70
set_currentMethod · 0.45

Tested by

no test coverage detected