The type of the ReactiumSyncState instance.
The ID of the ReactiumSyncState instance.
An object containing the ReactiumSyncState instance and the selected part of the state.
// Assuming `state` is an instance of `ReactiumSyncState`
const { handle, selected } = useSelectHandle('myState', 'path.to.part');
// Assuming `state` is an instance of `ReactiumSyncState`
const { handle, selected } = useSelectHandle('myState', state => state.get('path.to.part'));
Optional defaultValue: any
A custom React hook that selects a part of the state from a
ReactiumSyncStateinstance.