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

Function Child

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

Source from the content-addressed store, hash-verified

111
112 @reactpy.component
113 def Child():
114 state, child_set_state.current = reactpy.hooks.use_state(0)
115 return reactpy.html.div(state)
116
117 def make_parent_model(state, model):
118 return {

Callers 3

ParentFunction · 0.70
MainFunction · 0.70
RootFunction · 0.70

Calls 5

use_stateFunction · 0.90
use_effectFunction · 0.90
use_force_renderFunction · 0.90
use_stateMethod · 0.80
set_currentMethod · 0.45

Tested by

no test coverage detected