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

Function SomeComponent

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

Source from the content-addressed store, hash-verified

478async def test_log_on_dispatch_to_missing_event_handler(caplog):
479 @reactpy.component
480 def SomeComponent():
481 return reactpy.html.div()
482
483 async with reactpy.Layout(SomeComponent()) as layout:
484 await layout.deliver(event_message("missing"))

Calls 2

use_stateMethod · 0.80
useMethod · 0.80

Tested by

no test coverage detected