Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Lock react 15.4.2 #202

Merged
merged 13 commits into from
Apr 11, 2017
Merged

Lock react 15.4.2 #202

merged 13 commits into from
Apr 11, 2017

Conversation

Matt-Butler
Copy link
Contributor

Summary

The upgrade to React 15.5 is non-passive. I am locking react down at 15.4.2 until we update our packages to be compatible with 15.5.

@cerner/terra

@@ -28,8 +28,7 @@
"react-dom": "^15.4.2"
},
"dependencies": {
"classnames": "^2.2.5",
"react": "^15.4.2"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am removing react as a dependency for several of our packages. I am noticing this is forcing multiple nested versions of react to be installed.

Copy link
Contributor

Choose a reason for hiding this comment

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

I have some reservations about removing react as a dependency. Let's talk this some more tomorrow

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Here is the issue I am seeing:

  1. lock react at 15.4.2 in the root directory and in terra-site.
  2. npm run clean:install
  3. Inspect node_modules in any package that has a dependency on react. You will see a react directory with react 15.5.x. This gets confusing quickly because I am unsure which version of react each of these packages is using during testing / runtime.

We can discuss more tomorrow.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Matt-Butler Matt-Butler mentioned this pull request Apr 10, 2017
11 tasks
@JakeLaCombe
Copy link
Contributor

+1

@emilyrohrbough
Copy link
Contributor

+1

@bjankord bjankord merged commit cd6c543 into master Apr 11, 2017
@bjankord bjankord deleted the lock-react-15.4.2 branch April 11, 2017 15:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants