Commit 19ca800
authored
Reconciler: Combine identical cases in findParent (facebook#32210)
## Summary
When lookup `Parent`, `HostRoot` and `HostPortal` should be merged,
because when creating a `Portal`, it will also include
`containerInfo`(So we can directly use this `containerInfo` to delete
the real DOM nodes.), so there is no need to handle them separately.
## How did you test this change?
No behavior changes, all existing tests pass.1 parent a657bc5 commit 19ca800
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2007 | 2007 | | |
2008 | 2008 | | |
2009 | 2009 | | |
2010 | | - | |
2011 | | - | |
2012 | | - | |
2013 | | - | |
2014 | | - | |
| 2010 | + | |
2015 | 2011 | | |
2016 | 2012 | | |
2017 | 2013 | | |
| |||
0 commit comments