You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
Pull Request resolved: #50893
changelog: [internal]
In the two branches changed by this diff, it is unnecessary to check `reparentMode` because `reparentMode` and `childReparentMode` will always mismatch. When `childReparentMode` is unflatten, `reparentMode` will be flatten and vice versa. This is guaranteed by a `if else` statement above: https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/mounting/Differentiator.cpp#L674
This slightly simplifies code and lowers the burden on the reader.
Reviewed By: javache, rubennorte
Differential Revision: D73571160
fbshipit-source-id: 8623d991f7b063f70c95720ca0d3b63318dfc08b
0 commit comments