Provider
What is the Provider?
The Provider component is a property of the Eagle Eye context object. As a
React.Context
API based provider, it accepts the customary children
and value
props. It also accepts 2 optional props: prehooks
and storage
.External direct access to the context store may be obtained via the
ref
attribute. Please see a Provider Usage sample.Routinely, the
value
prop is initialized with the full initial state. It may only be updated with parts of the state which are changing. Please see a Provider Usage sample.