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

act: Batch updates, even in legacy roots #21797

Merged
merged 1 commit into from
Jul 13, 2021

Commits on Jul 12, 2021

  1. act: Batch updates, even in legacy roots

    In legacy roots, if an update originates outside of `batchedUpdates`,
    check if it's inside an `act` scope; if so, treat it as if it were
    batched. This is only necessary in legacy roots because in concurrent
    roots, updates are batched by default.
    
    With this change, the Test Utils and Test Renderer versions of `act` are
    nothing more than aliases of the isomorphic API (still not exposed, but
    will likely be the recommended API that replaces the others).
    acdlite committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    a2fe870 View commit details
    Browse the repository at this point in the history