Check if we're in sync mode before deprioritizing hidden subtrees

This commit is contained in:
Andrew Clark authored and Andrew Clark committed 2017-03-01 10:56:31 -08:00
1 parent 81eef12507
commit 4ef197b7d4
3 files changed
+12 -8

No files matched your search

+1
View File
@@ -854,6 +854,7 @@ src/renderers/__tests__/ReactUpdates-test.js
* handles reentrant mounting in synchronous mode
* mounts and unmounts are sync even in a batch
* does not re-render if state update is null
* synchronously renders hidden subtrees
src/renderers/__tests__/refs-destruction-test.js
* should remove refs when destroying the parent