F8app: Upgrade to new React-native version

Created on 23 May 2016  路  6Comments  路  Source: fbsamples/f8app

I got the following error messages:

Warning: ReactNative.createElement is deprecated. Use React.createElement from the 'react' package instead.

Warning: ReactNative.cloneElement is deprecated. Use React.cloneElement from the 'react' package instead.

When I change the react-native to version:

"react-native": "^0.25.0-rc"

What should I do? Thanks.

Most helpful comment

We should upgrade this project's RN version. Currently it's on 0.23. 0.25 comes with a bunch of great performance improvements. I'll try to get to this within a week or two.

All 6 comments

We should upgrade this project's RN version. Currently it's on 0.23. 0.25 comes with a bunch of great performance improvements. I'll try to get to this within a week or two.

Great. Thanks.

If you can get to 0.26 or 0.27-rc, we could get the Windows stuff integrated here as well :-).

Any progress? Or can we help?

I found the new ReactNative is a lot enhancement.

I think I can help to do the upgrading but when I run:

react-native upgrade

Can't upgrade because npm-shrinkwrap.json is used. Any idea how can I unlock the version? Thanks.

Upgraded to RN 0.28

Was this page helpful?
0 / 5 - 0 ratings