Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate useSafeState #1096

Merged
merged 2 commits into from
Mar 23, 2023
Merged

Deprecate useSafeState #1096

merged 2 commits into from
Mar 23, 2023

Commits on Jan 23, 2023

  1. Configuration menu
    Copy the full SHA
    ba0f25f View commit details
    Browse the repository at this point in the history
  2. refactor(useSafeState): Remove useSafeState

    useSafeState is an anti-pattern (detailed more in the associated PR) which merely hides a React's
    warning. As of React 18, this warning is not even shown anymore, which makes this hook even more
    unnecessary.
    
    BREAKING CHANGE: useSafeState is removed
    ArttuOll committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    01ece87 View commit details
    Browse the repository at this point in the history