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

[0.45.0] checkPropTypes warning on LayoutAnimation.easeInEaseOut() #14381

Closed
allmaxgit opened this issue Jun 8, 2017 · 3 comments
Closed

[0.45.0] checkPropTypes warning on LayoutAnimation.easeInEaseOut() #14381

allmaxgit opened this issue Jun 8, 2017 · 3 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@allmaxgit
Copy link

allmaxgit commented Jun 8, 2017

On call LayoutAnimation.easeInEaseOut() in React native 0.45.0 occurs next warning:

Warning: checkPropTypes has been moved to a separate package. Accessing React.checkPropTypes is no longer supported and will be removed completely in React 16. Use the prop-types package on npm instead. (https://fb.me/migrating-from-react-proptypes)
@peterp
Copy link
Contributor

peterp commented Jun 8, 2017

It looks like this was fixed, but I'm not sure why it's not in this release.

@hramos
Copy link
Contributor

hramos commented Jun 8, 2017

If the commit landed 27 days ago, then it should be in the current release candidate (0.46) that was cut this week.

@hramos hramos closed this as completed Jun 8, 2017
@qingtian5266
Copy link

if you use LayoutAnimation:
node_modules/react-native/Libraries/LayoutAnimation/LayoutAnimation.js,line 18
var {PropTypes} = require('prop-types')
var {checkPropTypes} = PropTypes;

@facebook facebook locked as resolved and limited conversation to collaborators Jun 8, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

5 participants