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

This commit is contained in:
Andrew Clark
2017-03-01 10:56:31 -08:00
committed by Andrew Clark
parent 81eef12507
commit 4ef197b7d4
3 changed files with 12 additions and 8 deletions
+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