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

Update requirements to support React 16 #164

Open
@mjclawar

Description

@mjclawar

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions