Closed aweary closed 6 years ago
Allows Provider components to set the initial state value. This is required for some use cases where the initial state is provided through props.
This only initializes the state when the Provider mounts. If the initialState prop is updated it's ignored.
initialState
Allows Provider components to set the initial state value. This is required for some use cases where the initial state is provided through props.
This only initializes the state when the Provider mounts. If the
initialState
prop is updated it's ignored.