Skip to content

Work in Strict Mode to avoid hitting a wall in upcoming React versions #1200

Closed
@tdd

Description

@tdd

Do you want to request a feature or report a bug?

It's a feature of sorts, more like making sure we can still use this by the end of 2019…

What's the current behavior?

Rendering a calendar inside React’s <StrictMode> wrappers yields a ton of deprecation / unsafe pattern warnings in the console:

What's the expected behavior?

The codebase should try and move to the newer, cleaner, safer accepted ways to achieve the same results, in order not to find itself stonewalled when some upcoming React 16.x version finally strips these, some of which have long been deprecated.

My OSS/PR queue is already quite full for the next few weeks but I might try and give it a go around late Feb / March if the regular maintainers can't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions