Skip to content

Conversation

@christensena
Copy link
Contributor

@christensena christensena commented Oct 16, 2017

The bare minimum to get this running with a React 16 project.

  1. Updated all deps (basically yarn upgrade --latest)
  2. Upgraded react, react-dom to React 16 (yarn add react react-dom --latest)
  3. Added prop-types dependency needed for React 16 and migrated code to use it
  4. Updated refs syntax as existing was using deprecated strings and this.refs

This works in the example.

I haven't updated the tests as they're using a very old style I'm unfamiliar with that will take a lot to migrate for the amount of test code.

@CLAassistant
Copy link

CLAassistant commented Oct 16, 2017

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@johnvf johnvf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the major version (EG - bump to 2.0.0), since bumping React is going to be a breaking change for folks on React 15?

@christensena
Copy link
Contributor Author

Can you update the major version (EG - bump to 2.0.0), since bumping React is going to be a breaking change for folks on React 15?

Have bumped to 2.0.

I can't think why it wouldn't work with react 15 although I imagine it would put up a peer dependency warning.

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

Successfully merging this pull request may close these issues.

3 participants