Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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():
Callers
6
test_nested_component_layout
Function · 0.70
test_update_path_to_component_that_is_not_direct_child_is_correct
Function · 0.70
test_schedule_render_from_unmounted_hook
Function · 0.70
test_element_keys_inside_components_do_not_reset_state_of_component
Function · 0.70
test_does_render_children_after_component
Function · 0.70
test_render_removed_context_consumer
Function · 0.70
Calls
6
use_state
Function · 0.90
use_toggle
Function · 0.90
Context
Class · 0.85
use_state
Method · 0.80
use
Method · 0.80
Child
Function · 0.70
Tested by
no test coverage detected