prevContext 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 prevContext => throw _unsupportedError('"Legacy" Context [prevContext]');
- @override
- @Deprecated('Only supported in the deprecated Component, and not in Component2. See doc comment for more info.')
inherited
Reference to the value of context from the previous render cycle, used internally for proxying the ReactJS lifecycle method.
DO NOT set from anywhere outside react-dart lifecycle internals.
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 prevContext(_) => throw _unsupportedError('"Legacy" Context [prevContext]');