mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Use a ReactFeatureFlag instead. It won't be per-renderer, but we likely won't need that. When enableAsyncSubtreeAPI is false, unstable_asyncUpdates is ignored, but does not warn or throw. That way if we discover a bug in async mode, we can flip the flag and revert back to sync without code changes.