mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
183d1f42ed
We use bitwise operations to compute expiration times, which means they need to be smaller than 31 bits. So we measure times relative to module initialization, similar to `performance.now`. This was already working in the old fiber scheduler, but we didn't have a test for it.