See confusion in react/react#13969.
Specific action items:
- Clarify
.contextType is available only since 16.6 (and corresponding RN/Expo release)
- Clarify you may not be seeing it due to circular deps, and best practice is to declare it in a separate file
- People sometimes get confused thinking that
createContext value is the one you need to "update", we need to explain it's driven by state
- Need more coherent doc structure
See confusion in react/react#13969.
Specific action items:
.contextTypeis available only since 16.6 (and corresponding RN/Expo release)createContextvalue is the one you need to "update", we need to explain it's driven by state