nextContext property
- @override
- @Deprecated('Only supported in the deprecated Component, and not in Component2. See doc comment for more info.')
inherited
Do not use.
Will be removed when Component
is removed in a future major release.
Implementation
@override
@Deprecated('Only supported in the deprecated Component, and not in Component2. See doc comment for more info.')
get nextContext => throw _unsupportedError('"Legacy" Context [nextContext]');
- @override
- @Deprecated('Only supported in the deprecated Component, and not in Component2. See doc comment for more info.')
inherited
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
@override
@Deprecated('Only supported in the deprecated Component, and not in Component2. See doc comment for more info.')
set nextContext(_) => throw _unsupportedError('"Legacy" Context [nextContext]');