-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use UNSAFE_ lifecycle event names where supported. (#1383)
This provides forward compatibility with React 17.x for those still using the react-redux 5.x series by detecting support for the UNSAFE_ prefixed lifecycle event names (using `React.createContext` as a feature check as it avoids semver checking but was introduced in React 16.3 at the same time as the UNSAFE_ prefixes).
- Loading branch information
Showing
2 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters