mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-05-18 12:22:20 +08:00
Summary: The previous implementation of the method cloned the root node twice (one time at the very end of the method and one time at the end of loop body). The new one does it once and a bit more readable. Reviewed By: mdvacca Differential Revision: D14187969 fbshipit-source-id: 9859deadd4b041ac115c37108188aab70200c75d