nextContext property
- @Deprecated('This legacy, unstable context API is only supported in the deprecated Component, and not Component2.' ' Instead, use Component2.context, Context.Consumer, or useContext.')
getter/setter pairinherited
Private reference to the value of context
for the upcoming render cycle.
Useful for ReactJS lifecycle methods shouldComponentUpdateWithContext
and componentWillUpdateWithContext
.
DEPRECATED - DO NOT USE
This API was never stable in any version of ReactJS, and was replaced with a new, incompatible context API in ReactJS 16.
Implementation
@Deprecated('This legacy, unstable context API is only supported in the deprecated Component, and not Component2.'
' Instead, use Component2.context, Context.Consumer, or useContext.')
Map? nextContext;