prevState 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.')
Map get prevState => throw _unsupportedError('"Legacy" Context [prevContext]');
Reference to the value of state from the previous render cycle, used internally for proxying the ReactJS lifecycle method and componentDidUpdate.
Not available after componentDidUpdate is called.
DO NOT set from anywhere outside react-dart lifecycle internals.
Implementation
@override
set prevState(_) => throw _unsupportedError('"Legacy" Context [prevContext]');