-
Notifications
You must be signed in to change notification settings - Fork 46.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
act()
- s / flushPassiveEffects / Scheduler.unstable_flushWithoutYielding
#15591
Commits on May 8, 2019
-
s/flushPassiveEffects/unstable_flushWithoutYielding
a first crack at flushing the scheduler manually from inside act(). uses unstable_flushWithoutYielding(). The tests that changes, mostly replaced toFlushAndYield(...) with toHaveYielded(). For some tests that tested the state of the tree before flushing effects (but still after updates), I replaced act() with bacthedUpdates().
Sunil Pai committedMay 8, 2019 Configuration menu - View commit details
-
Copy full SHA for 0f1977a - Browse repository at this point
Copy the full SHA 0f1977aView commit details -
Sunil Pai committed
May 8, 2019 Configuration menu - View commit details
-
Copy full SHA for 5e5a68b - Browse repository at this point
Copy the full SHA 5e5a68bView commit details -
pass build, flushPassiveEffects returns nothing now
Sunil Pai committedMay 8, 2019 Configuration menu - View commit details
-
Copy full SHA for 37989a5 - Browse repository at this point
Copy the full SHA 37989a5View commit details
Commits on May 9, 2019
-
Sunil Pai committed
May 9, 2019 Configuration menu - View commit details
-
Copy full SHA for f5fd513 - Browse repository at this point
Copy the full SHA f5fd513View commit details -
flush all work (not just effects), add a compatibility mode
of note, unstable_flushWithoutYielding now returns a boolean much like flushPassiveEffects
Sunil Pai committedMay 9, 2019 Configuration menu - View commit details
-
Copy full SHA for 5003233 - Browse repository at this point
Copy the full SHA 5003233View commit details -
umd build for scheduler/unstable_mock, pass the fixture with it
Sunil Pai committedMay 9, 2019 Configuration menu - View commit details
-
Copy full SHA for 7de2164 - Browse repository at this point
Copy the full SHA 7de2164View commit details -
add a comment to Shcduler.umd.js for why we're exporting unstable_flu…
…shWithoutYielding
Sunil Pai committedMay 9, 2019 Configuration menu - View commit details
-
Copy full SHA for 0287733 - Browse repository at this point
Copy the full SHA 0287733View commit details
Commits on May 11, 2019
-
run testsutilsact tests in both sync/concurrent modes
Sunil Pai committedMay 11, 2019 Configuration menu - View commit details
-
Copy full SHA for 3966dcc - Browse repository at this point
Copy the full SHA 3966dccView commit details -
Sunil Pai committed
May 11, 2019 Configuration menu - View commit details
-
Copy full SHA for 9f2d141 - Browse repository at this point
Copy the full SHA 9f2d141View commit details -
use a feature flag for the missing mock scheduler warning
I also tried writing a test for it, but couldn't get the scheduler to unmock. included the failing test.
Sunil Pai committedMay 11, 2019 Configuration menu - View commit details
-
Copy full SHA for 6920e9f - Browse repository at this point
Copy the full SHA 6920e9fView commit details
Commits on May 15, 2019
-
Update ReactTestUtilsAct-test.js
- pass the mock scheduler warning test, - rewrite some tests to use Scheduler.yieldValue - structure concurrent/legacy suites neatly
Sunil Pai committedMay 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 690f83e - Browse repository at this point
Copy the full SHA 690f83eView commit details -
Merge remote-tracking branch 'origin/master' into act-flushall
Sunil Pai committedMay 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 8198a82 - Browse repository at this point
Copy the full SHA 8198a82View commit details -
pass failing tests in batchedmode-test
Sunil Pai committedMay 15, 2019 Configuration menu - View commit details
-
Copy full SHA for 53b91d2 - Browse repository at this point
Copy the full SHA 53b91d2View commit details
Commits on May 16, 2019
-
Sunil Pai committed
May 16, 2019 Configuration menu - View commit details
-
Copy full SHA for 12a143a - Browse repository at this point
Copy the full SHA 12a143aView commit details -
Sunil Pai committed
May 16, 2019 Configuration menu - View commit details
-
Copy full SHA for d6e43e7 - Browse repository at this point
Copy the full SHA d6e43e7View commit details -
nit: pull .create(null) out of the act() call
Sunil Pai committedMay 16, 2019 Configuration menu - View commit details
-
Copy full SHA for 47e1eed - Browse repository at this point
Copy the full SHA 47e1eedView commit details -
Merge remote-tracking branch 'origin/master' into act-flushall
Sunil Pai committedMay 16, 2019 Configuration menu - View commit details
-
Copy full SHA for 763c03e - Browse repository at this point
Copy the full SHA 763c03eView commit details