Skip to content

v2.9.4+ Requires React 16 #1912

Closed
Closed
@LucasUnplugged

Description

@LucasUnplugged

Describe the bug
Starting with v2.9.4, react-datepicker requires React 16. This is because commit #1898 makes a change to calendar.jsx, which includes a call to React.createRef, which is only a method in v16 of React.

If you could update the Compatibility section of the readme.md file, that'd be great. Alternatively, if you'd like to maintain compatibility with React 15, you may be able to do so by finding an alternative to using React.createRef.

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