A React hook that consumes a handle registered with a given ID.
This hook will consume a handle registered with the given ID. It will then set up an effect that updates the handle when the handle changes.
The type of the handle.
The ID of the handle to consume.
The consumed handle, or undefined if no handle is registered with the given ID.
A React hook that consumes a handle registered with a given ID.
This hook will consume a handle registered with the given ID. It will then set up an effect that updates the handle when the handle changes.