RealOrangeOne / react-native-mock

A fully mocked and test-friendly version of react native (maintainers wanted)
MIT License
570 stars 153 forks source link

Update to Support React 16 #156

Closed gxsshallot closed 6 years ago

gxsshallot commented 6 years ago
  1. Update react to v16.0.0, and react-native to v0.50.0.
  2. Replace React.PropTypes by 'prop-types'.
  3. Replace React.createClass by 'create-react-class'.
  4. Replace 'react-addons-test-utils' by 'react-dom/test-utils'.
  5. Remove some addons: react-addons-create-fragment, react-addons-perf, react-addons-pure-render-mixin (no longer supported and moved into React) to avoid crash.
  6. Replace react-addons-update by immutability-helper.
RealOrangeOne commented 6 years ago

I believe most of these changes have been made in #151?

gxsshallot commented 6 years ago

OK, donot see that one... my afternoon...