Files
react/scripts
Dan Abramov ed9747deed Fix the bug when switching to a null portal child
If pendingProps is null, we do a bailout in beginWork.
This prevents unmounting of the existing child when the new child is null.

We fix this by changing portal fiber's pendingProps to be the portal object itself instead of its children.
This way, it is never null, and thus doesn't cause a false positive in the bailout condition.
2016-12-09 18:45:37 +00:00
..
2016-04-07 17:30:23 -07:00
2016-09-12 21:58:00 +03:00
2016-11-08 20:20:46 +00:00
2016-12-07 16:04:47 -08:00
2013-09-09 23:42:54 -07:00