-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context API is broken on react 16.6.0+ #21975
Comments
Did a bit of digging on this before coming across your issue. The problem seems to stem from facebook/react@3b7ee26 in which in DEV the context is proxied through to an inner Where this comes into play with ReactNative is that during the call to
The I won't pretend to understand the ship process for all of these integrated files, so I'm not sure if maybe a step was missed or if the latest integrate just hasn't reached time to deploy yet, but the schism here between how |
It works since 0.57.5+. |
Environment
React Native Environment Info:
System:
OS: macOS 10.14
CPU: x64 Intel(R) Core(TM) i5-6267U CPU @ 2.90GHz
Memory: 31.34 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 8.11.4 - /usr/local/bin/node
Yarn: 1.10.1 - ~/.yarn/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.0, macOS 10.14, tvOS 12.0, watchOS 5.0
Android SDK:
Build Tools: 23.0.1, 23.0.3, 24.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.0, 28.0.2, 28.0.3
API Levels: 19, 22, 23, 24, 25, 26, 27, 28
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5014246
Xcode: 10.0/10A255 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.0 => 16.6.0
react-native: 0.57.4 => 0.57.4
npmGlobalPackages:
react-native-cli: 2.0.1
Description
Context API works on
16.6.0-alpha.8af6728
, but the consumers stop updating after upgrading to16.6.0
or newer. The release notes say to use16.6.0-alpha.8af6728 at least
. Opening this just to make sure it's a known issue and to track this.On a related note, I was expecting an alpha version with
16.7.0-alpha.0
support to be already available, to be honest. RN is an important react product, we want to play with new features as soon as possible like everyone else. Let me know how we could help.Reproducible Demo
The text was updated successfully, but these errors were encountered: