react/scripts/rollup
Andrew Clark e7b255341b
Internal `act`: Flush timers at end of scope (#19788)
If there are any suspended fallbacks at the end of the `act` scope,
force them to display by running the pending timers (i.e. `setTimeout`).

The public implementation of `act` achieves the same behavior with an
extra check in the work loop (`shouldForceFlushFallbacks`). Since our
internal `act` needs to work in both development and production, without
additional runtime checks, we instead rely on Jest's mock timers.

This doesn't not affect refresh transitions, which are meant to delay
indefinitely, because in that case we exit the work loop without
posting a timer.
2020-09-08 21:55:23 -07:00
..
plugins Upgrade Closure Compiler (#19041) 2020-05-29 09:17:14 -07:00
shims [Native] Enable and remove targetAsInstance feature flag. (#18182) 2020-02-28 13:45:42 -08:00
validate Internal `act`: Flush timers at end of scope (#19788) 2020-09-08 21:55:23 -07:00
build.js Remove the deprecated React Flare event system (#19520) 2020-08-05 15:13:29 +01:00
bundles.js provide profiling bundle for react-reconciler (#19559) 2020-08-19 14:11:27 +01:00
consolidateBundleSizes.js Fix sizebot (#15771) 2019-05-29 21:30:16 -07:00
forks.js [Scheduler] Call postTask directly (#19551) 2020-08-12 08:39:47 -05:00
modules.js Remove React Flare Keyboard responder (#19222) 2020-07-01 15:43:16 +01:00
packaging.js Build FB specific Isomorphic Bundles (#19049) 2020-05-29 15:32:38 -07:00
stats.js Fix sizebot (#15771) 2019-05-29 21:30:16 -07:00
sync.js Fork React Native renderer into FB and OSS bundles (#12625) 2018-04-18 13:16:50 -07:00
utils.js Refactor the build scripts (#11787) 2017-12-06 20:11:32 +00:00
wrappers.js provide profiling bundle for react-reconciler (#19559) 2020-08-19 14:11:27 +01:00