Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force Diffing algorithm to insert views Bottom Up (from children to r…
…oot) Summary: This diff changes the way views are inserted by the diffing algorithm. Previously the diffing algorithm inserted views top-down, now it insert views bottom-up (same order as previous version of RN). Let say we need to create the following tree: ``` A --> B --> C | | --> D ``` Before, the diffing algorithm created the following list of instructions: ``` insert(A, B, 0) insert(B, C, 0) insert(B, D, 1) ``` After this diff, the insert instructions are going to be: ``` insert(B, C, 0) insert(B, D, 1) insert(A, B, 0) ``` Reviewed By: shergin Differential Revision: D14817454 fbshipit-source-id: 7aac1a1e1784c53bca2747aee80a5bc8ee788e7a
- Loading branch information