A hook to efficiently create a read-only Composited State from the
composition of one or multiple parent states. For more simpler use cases,
calling the composition as is should be sufficient.
A hook that allows any given State to be programmatically managed such
that it does not get arbitrarily updated with values that do not follow a
given contract as specified by a Manager function. This may be used to aid
in maing sure the State of the value falls within a finite number of
States.
The user defined function that manages the State it is paired with. The
Manager constraints how State should be updated, protecting it from
arbitrary updates that are not desirable to have.