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

Upgrade to React 16 #145

Merged
merged 17 commits into from
Apr 9, 2019
Merged

Upgrade to React 16 #145

merged 17 commits into from
Apr 9, 2019

Conversation

Marc-Andre-Rivet
Copy link
Contributor

@Marc-Andre-Rivet Marc-Andre-Rivet commented Apr 3, 2019

@@ -39,7 +39,7 @@ jobs:
name: Install dependencies (dash)
command: |
git clone git@github.com:plotly/dash.git
git clone git@github.com:plotly/dash-core-components.git
git clone -b react-16 git@github.com:plotly/dash-core-components.git
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be removed after master merge

? {errorLoading}
: null
);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

React 16 component render differs greatly from React 15 in terms of error handling. MultiGraph.overallOrder() called by hydrateInitialOutputs throws an error when there is a cycle. This error needs to be caught and handled, otherwise the entire app fails to render.

],
'relative_package_path': [
'react@16.2.0.production.min.js',
'react-dom@16.2.0.production.min.js'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Remove test relative to 15.4.2

_REACT_VERSION_TO_URLS = {
'15.4.2': {
'16.8.6': {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fwiw, no need to update the manifest as it wildcards react and react-dom versions

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

💃 🚀

@Marc-Andre-Rivet Marc-Andre-Rivet merged commit f7810e5 into master Apr 9, 2019
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

2 participants