Include SyncLane in includesBlockingLane helper (#34543)
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 [e0c421ab71e26c05afe506662a4574070c13d131](https://github.com/facebook/react/commit/e0c421ab71e26c05afe506662a4574070c13d131)
S
sebmarkbage committed
5f4fa923398eba59c1df124181643e6b318a427e
Parent: 191f8c8