Function mapping the last signal value or initial values to an element to render.
Note: returns React.ReactNode
as per
https://github.com/sw-yx/react-typescript-cheatsheet#higher-order-componentsrender-props
Optional
initialInitial value to use for the args, used before the signal emits a value. If not provided, initial args will be undefined.
Optional
initialInitial value to use for the sender, used before the signal emits a value. If not provided, initial sender will be undefined
Optional
shouldGiven the last signal value, should return whether to update the state or not.
The default unconditionally returns true
, so you only have to override if you want
to skip some updates.
Phosphor signal to connect to.
Props for the UseSignal component