-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved workaround for backward compatibility with renderers built f…
…or < React 18 support (#2010) Summary: Pull Request resolved: facebookexperimental/Recoil#2010 An improved workaround for Recoil to have backward compatibility with React renderers built before React 18 support when used with React 18. While this may technically be a user error we would like to avoid breaking internal or open source applications that are using React 18 and have not yet upgraded all of their renderers. Log detected Renderer version mismatches using `recoverableViolation()`, but only once per module runtime. Reviewed By: davidmccabe Differential Revision: D39586744 fbshipit-source-id: 1dbe5dbf3b33f30d49891ae74e4c078fe7c4d05f
- Loading branch information
Showing
3 changed files
with
45 additions
and
24 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
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