react/scripts
Sunil Pai a1dbb852c2 warn if you try to use act() in prod (#16282)
We have behaviour divergence for act() between prod and dev (specifically, act() + concurrent mode does not flush fallbacks in prod. This doesn't affect anyone in OSS yet)

We also don't have a good story for writing tests in prod (and what from what I gather, nobody really writes tests in prod mode).

We could have wiped out act() in prod builds, except that _we_ ourselves use act() for our tests when we run them in prod mode.

This PR is a compromise to all of this. We will log a warning if you try to use act() in prod mode, and we silence it in our test suites.
2019-08-05 13:01:05 -07:00
..
babel Drop the year from Facebook copyright headers and the LICENSE file. (#13593) 2018-09-07 15:11:23 -07:00
bench Update Readme (#14176) 2018-11-12 16:25:32 +00:00
circleci Parallelizes the build script across multiple processes (#15716) 2019-05-29 14:34:50 -07:00
error-codes [Flare] Tweaks to Flare system design and API (#16264) 2019-08-01 19:08:54 +01:00
eslint Refactor ESLint configuration to enable better IDE integration (#13914) 2018-11-08 17:56:35 +00:00
eslint-rules Lint rule for unminified errors (#15757) 2019-05-29 11:29:04 -07:00
flow Move ReactFiberErrorDialog RN fork into RN itself (#16141) 2019-07-16 09:38:14 +01:00
git Remove leftover env variable logic in pre-commit hook 2015-09-01 14:35:47 -07:00
jest warn if you try to use act() in prod (#16282) 2019-08-05 13:01:05 -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 unify deprecated/unsafe lifecycle warnings, pass tests (#16103) 2019-07-15 20:56:44 +01:00
release Use Circle CI API v2 to get artifacts job ID (#15821) 2019-06-04 13:28:41 -07:00
rollup chore: remove outdated comment about gcc (#16232) 2019-08-05 18:18:40 +01:00
shared [Fire] Remove unused React fire fork (#16046) 2019-07-03 11:05:28 +01:00
tasks Switch to @sizebot token (#13622) 2018-09-11 21:06:44 +01:00
authors AUTHORS 2013-09-09 23:42:54 -07:00