prevContext property

  1. @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? prevContext
getter/setter pairinherited

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

@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? prevContext;