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

Update requirements to support React 16 #164

Open
mjclawar opened this issue Feb 24, 2018 · 0 comments
Open

Update requirements to support React 16 #164

mjclawar opened this issue Feb 24, 2018 · 0 comments

Comments

@mjclawar
Copy link
Contributor

mjclawar commented Feb 24, 2018

It seems like multiple requirements do not support newer versions of React 16. Some packages, like react-syntax-highlighter have breaking changes for updates.

This should be the final piece for dash-core-components to support React 16 outside of updating dash-renderer.

This will be updated when I find additional packages that need to be updated.

Updates

This line: https://github.com/mjclawar/dash-core-components/blob/e99bff257859868ed1dffbedcb8286418c1e209f/src/components/Dropdown.react.js#L4 was causing a React version error that imported an older React version. Updated to pulling directly from the umd build as

import ReactDropdown from 'react-virtualized-select/dist/umd/react-virtualized-select';

Packages that will be updated:

  • react-dates to "16.3.2"
  • react-dropzone to "4.2.8"
  • react-markdown to "3.2.1"
  • react-select to "1.2.1"
  • react-select-fast-filter-options to "0.2.3"
  • react-syntax-highlighter to "7.0.0"
  • react-virtualized-select to "3.1.3"
  • react and react-dom as peerDependencies "^15.4.0 || ^16.0.0"

Packages that will be added

  • style-loader and css-loader for importing the css as required by the new react-dates
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant