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

Function Parent

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

Source from the content-addressed store, hash-verified

106
107 @reactpy.component
108 def Parent():
109 state, parent_set_state.current = reactpy.hooks.use_state(0)
110 return reactpy.html.div(state, Child())
111
112 @reactpy.component
113 def Child():

Calls 6

use_stateFunction · 0.90
use_toggleFunction · 0.90
ContextClass · 0.85
use_stateMethod · 0.80
useMethod · 0.80
ChildFunction · 0.70

Tested by

no test coverage detected