Skip to content
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

Breaking in RN 0.26+: Separate React from React Native #49

Open
fungilation opened this issue Jun 6, 2016 · 1 comment
Open

Breaking in RN 0.26+: Separate React from React Native #49

fungilation opened this issue Jun 6, 2016 · 1 comment

Comments

@fungilation
Copy link

fungilation commented Jun 6, 2016

Console warnings coming from Overlay_render in RN 0.25 (breaking errors in RN 0.26+):

2016-06-06 12:38:32.783 index.ios.bundle:14030Warning: ReactNative.createElement is deprecated. Use React.createElement from the "react" package instead.reactConsoleError @ index.ios.bundle:14030console.error @ index.ios.bundle:59059warning @ index.ios.bundle:5273get @ index.ios.bundle:35430Overlay_render @ index.ios.bundle:71367_renderValidatedComponentWithoutOwnerOrContext @ index.ios.bundle:19094_renderValidatedComponent @ index.ios.bundle:19114ReactCompositeComponent__renderValidatedComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:18727ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountChildren @ index.ios.bundle:31395initializeChildren @ index.ios.bundle:30992mountComponent @ index.ios.bundle:31129mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountChildren @ index.ios.bundle:31395initializeChildren @ index.ios.bundle:30992mountComponent @ index.ios.bundle:31129mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountChildren @ index.ios.bundle:31395initializeChildren @ index.ios.bundle:30992mountComponent @ index.ios.bundle:31129mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponentIntoNode @ index.ios.bundle:17074perform @ index.ios.bundle:18278batchedMountComponentIntoNode @ index.ios.bundle:17093perform @ index.ios.bundle:18278batchedUpdates @ index.ios.bundle:26203batchedUpdates @ index.ios.bundle:17918renderComponent @ index.ios.bundle:17179ReactMount__renderNewRootComponent @ index.ios.bundle:7416render @ index.ios.bundle:12911renderApplication @ index.ios.bundle:57999run @ index.ios.bundle:57868runApplication @ index.ios.bundle:57896__callFunction @ index.ios.bundle:6932(anonymous function) @ index.ios.bundle:6836guard @ index.ios.bundle:6790callFunctionReturnFlushedQueue @ index.ios.bundle:6835onmessage @ debuggerWorker.js:39
2016-06-06 12:38:32.793 index.ios.bundle:14030Warning: ReactNative.Children is deprecated. Use React.Children from the "react" package instead.reactConsoleError @ index.ios.bundle:14030console.error @ index.ios.bundle:59059warning @ index.ios.bundle:5273get @ index.ios.bundle:35430Overlay_render @ index.ios.bundle:71368_renderValidatedComponentWithoutOwnerOrContext @ index.ios.bundle:19094_renderValidatedComponent @ index.ios.bundle:19114ReactCompositeComponent__renderValidatedComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:18727ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountChildren @ index.ios.bundle:31395initializeChildren @ index.ios.bundle:30992mountComponent @ index.ios.bundle:31129mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountChildren @ index.ios.bundle:31395initializeChildren @ index.ios.bundle:30992mountComponent @ index.ios.bundle:31129mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountChildren @ index.ios.bundle:31395initializeChildren @ index.ios.bundle:30992mountComponent @ index.ios.bundle:31129mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponentIntoNode @ index.ios.bundle:17074perform @ index.ios.bundle:18278batchedMountComponentIntoNode @ index.ios.bundle:17093perform @ index.ios.bundle:18278batchedUpdates @ index.ios.bundle:26203batchedUpdates @ index.ios.bundle:17918renderComponent @ index.ios.bundle:17179ReactMount__renderNewRootComponent @ index.ios.bundle:7416render @ index.ios.bundle:12911renderApplication @ index.ios.bundle:57999run @ index.ios.bundle:57868runApplication @ index.ios.bundle:57896__callFunction @ index.ios.bundle:6932(anonymous function) @ index.ios.bundle:6836guard @ index.ios.bundle:6790callFunctionReturnFlushedQueue @ index.ios.bundle:6835onmessage @ debuggerWorker.js:39
2016-06-06 12:38:32.795 index.ios.bundle:14030Warning: ReactNative.cloneElement is deprecated. Use React.cloneElement from the "react" package instead.reactConsoleError @ index.ios.bundle:14030console.error @ index.ios.bundle:59059warning @ index.ios.bundle:5273get @ index.ios.bundle:35430Overlay_render @ index.ios.bundle:71368_renderValidatedComponentWithoutOwnerOrContext @ index.ios.bundle:19094_renderValidatedComponent @ index.ios.bundle:19114ReactCompositeComponent__renderValidatedComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:18727ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountChildren @ index.ios.bundle:31395initializeChildren @ index.ios.bundle:30992mountComponent @ index.ios.bundle:31129mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountChildren @ index.ios.bundle:31395initializeChildren @ index.ios.bundle:30992mountComponent @ index.ios.bundle:31129mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountChildren @ index.ios.bundle:31395initializeChildren @ index.ios.bundle:30992mountComponent @ index.ios.bundle:31129mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponent @ index.ios.bundle:18732ReactCompositeComponent_mountComponent @ index.ios.bundle:7416mountComponent @ index.ios.bundle:17324mountComponentIntoNode @ index.ios.bundle:17074perform @ index.ios.bundle:18278batchedMountComponentIntoNode @ index.ios.bundle:17093perform @ index.ios.bundle:18278batchedUpdates @ index.ios.bundle:26203batchedUpdates @ index.ios.bundle:17918renderComponent @ index.ios.bundle:17179ReactMount__renderNewRootComponent @ index.ios.bundle:7416render @ index.ios.bundle:12911renderApplication @ index.ios.bundle:57999run @ index.ios.bundle:57868runApplication @ index.ios.bundle:57896__callFunction @ index.ios.bundle:6932(anonymous function) @ index.ios.bundle:6836guard @ index.ios.bundle:6790callFunctionReturnFlushedQueue @ index.ios.bundle:6835onmessage @ debuggerWorker.js:39
2016-06-06 12:39:28.909 ExceptionsManager.js:76Warning: ReactNative.PropTypes is deprecated. Use React.PropTypes from the "react" package instead.reactConsoleError @ ExceptionsManager.js:76warning @ warning.js:44get @ ReactNative.js:41(anonymous function) @ Overlay.ios.js:14requireImpl @ require.js:82_require @ require.js:31(anonymous function) @ index.ios.js:29requireImpl @ require.js:82requireImpl @ require.js:39_require @ require.js:31(anonymous function) @ require-0.js:1executeApplicationScript @ debuggerWorker.js:18onmessage @ debuggerWorker.js:33
2016-06-06 12:39:28.916 ExceptionsManager.js:76Warning: ReactNative.createClass is deprecated. Use React.createClass from the "react" package instead.reactConsoleError @ ExceptionsManager.js:76warning @ warning.js:44get @ ReactNative.js:41(anonymous function) @ Overlay.ios.js:20requireImpl @ require.js:82_require @ require.js:31(anonymous function) @ index.ios.js:29requireImpl @ require.js:82requireImpl @ require.js:39_require @ require.js:31(anonymous function) @ require-0.js:1executeApplicationScript @ debuggerWorker.js:18onmessage @ debuggerWorker.js:33

See React API deprecation note: https://github.com/facebook/react-native/releases/tag/v0.25.1

@fungilation fungilation changed the title Separate React from React Native Breaking in RN 0.26+: Separate React from React Native Jun 6, 2016
@stage88
Copy link

stage88 commented Aug 16, 2016

Bonus points for telling Brent about the depreciated React API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants