You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add new Provider prop: provide: (parentProvided) => provided | plainObject
if provide is a function it receives the the provided in context (only makes sense if this Provider is nested) and returns an object to be provided. It would be up to the caller to forward some/all/no parent provided values.
if the Provider is top level then parentProvided will be undefined
if provide is an object then that object will be provided in this provider. This means that to forward props from parent providers you must do so explicitly
Questions
should provided forwarding happen by default?
The text was updated successfully, but these errors were encountered:
remove configuration props {forwardProvided, allowOverload}
Stop auto-providing arbitrary props on Provider
add new Provider prop:
provide: (parentProvided) => provided | plainObject
if provide is a function it receives the the
provided
in context (only makes sense if this Provider is nested) and returns an object to be provided. It would be up to the caller to forward some/all/no parent provided values.if the Provider is top level then parentProvided will be undefined
if provide is an object then that object will be provided in this provider. This means that to forward props from parent providers you must do so explicitly
Questions
The text was updated successfully, but these errors were encountered: