mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
5d78b8fbbf589a9dbd60c9c9a55d9ccca5e2f2a4
This helper weirdly doesn't include the sync lane.
Everywhere we use it we have to check the sync lane separately. We can
simplify things by simply including the sync lane.
This fixes a lack of optimization because we should not check the store
consistency for a `flushSync` render.
https://github.com/facebook/react/blob/d91d28c8ba6fe7c96e651f82fc47c9d5481bf5f9/packages/react-reconciler/src/ReactFiberHooks.js#L1691-L1693
DiffTrain build for [e0c421ab71](https://github.com/facebook/react/commit/e0c421ab71e26c05afe506662a4574070c13d131)
react-fbsource-import
Languages
JavaScript
67.1%
TypeScript
29.4%
HTML
1.5%
CSS
1.1%
C++
0.6%
Other
0.2%