react/scripts
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
..
babel Fix "missing flag" error for non-boolean types (#18592) 2020-04-13 12:57:31 -07:00
bench make link https (#19147) 2020-06-30 12:43:52 +01:00
circleci Remove /dist/ UMD builds (#18473) 2020-04-02 17:52:32 -07:00
error-codes [Flight] Support more element types and Hooks for Server and Hybrid Components (#19711) 2020-08-27 20:19:13 +01:00
eslint Revert autofix lint (#19040) 2020-05-28 20:32:34 -07:00
eslint-rules Rename effect fields (#19755) 2020-09-04 14:34:07 -07:00
flow Fork legacy-events folder into react-dom and react-native (#19228) 2020-07-01 16:37:13 +01:00
git Remove leftover env variable logic in pre-commit hook 2015-09-01 14:35:47 -07:00
jest Parallelize Jest in CI (#19552) 2020-08-07 16:32:59 -04:00
merge-fork Land Lanes implementation in old fork (#19108) 2020-06-11 20:05:15 -07:00
perf-counters Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
prettier Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
print-warnings Update Flow to 0.84 (#17805) 2020-01-09 14:50:44 +00:00
release Indent a command 2020-08-07 19:24:49 +01:00
rollup Internal act: Flush timers at end of scope (#19788) 2020-09-08 21:55:23 -07:00
shared Fork legacy-events folder into react-dom and react-native (#19228) 2020-07-01 16:37:13 +01:00
tasks Change ReactVersion from CJS to ES module (#18181) 2020-02-28 13:09:02 -08:00
yarn chore: upgrade to jest 24 (#15778) 2019-10-03 22:44:18 +05:30
authors AUTHORS 2013-09-09 23:42:54 -07:00