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

Add back useMutableSource temporarily #22396

Merged
merged 1 commit into from
Sep 22, 2021
Merged

Commits on Sep 22, 2021

  1. Add back useMutableSource temporarily

    Recoil uses useMutableSource behind a flag. I thought this was fine
    because Recoil isn't used in any concurrent roots, so the behavior
    would be the same, but it turns out that it is used by concurrent
    roots in a few places.
    
    I'm not expecting it to be hard to migrate to useSyncExternalStore, but
    to de-risk the change I'm going to roll it out gradually with a flag. In
    the meantime, I've added back the useMutableSource API.
    acdlite committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    41ae6c2 View commit details
    Browse the repository at this point in the history