-
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.
Better error reporting / workaround for inconsistent selector values …
…(#1597) Summary: Pull Request resolved: facebookexperimental/Recoil#1597 Better detect and clarify error message when selectors do not provide consistent values based on input dependency values. In development mode this will throw an error. In production it will log and report to console, then try to reset the selector cache and trundle on. This workaround is not sufficient to avoid issues and the user should resolve the selector behavior. Reviewed By: butlersrepos Differential Revision: D34100576 fbshipit-source-id: 1effa85f19077976b4420222005828f9fdc73a73
- Loading branch information
Showing
3 changed files
with
61 additions
and
15 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