Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/reactive-python/reactpy
/ on_click
Function
on_click
src/py/reactpy/tests/test_testing.py:199–200 ·
view source on GitHub ↗
(event)
Source
from the content-addressed store, hash-verified
197
count = Ref(0)
198
199
async
def
on_click(event):
200
mount(make_next_count_constructor(count))
201
202
incr = html.button({
"on_click"
: on_click,
"id"
:
"incr-button"
},
"incr"
)
203
Callers
nothing calls this directly
Calls
2
mount
Function · 0.85
make_next_count_constructor
Function · 0.85
Tested by
no test coverage detected