def test_decentralized_event_global_state():
    """Test the decentralized event with a global state."""
    _ = rx.input(on_change=f("foo"))
    _ = rx.input(on_change=f)
Test the decentralized event with a global state.
tests/units/test_event.py