mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
Added addChildren() function as a more-optimal replacement for manageChildren for common use cases.
Reviewed By: jspahrsummers Differential Revision: D2707930 fb-gh-sync-id: c44219bf9af943cad5b57f370656c1bcac732cd9
This commit is contained in:
committed by
facebook-github-bot-9
parent
ecdc3429cd
commit
9a47ca1cc9
@@ -53,6 +53,7 @@ var dangerouslyProcessChildrenUpdates = function(childrenUpdates, markupList) {
|
||||
(updates.addChildTags || (updates.addChildTags = [])).push(tag);
|
||||
}
|
||||
}
|
||||
|
||||
// Note this enumeration order will be different on V8! Move `byContainerTag`
|
||||
// to a sparse array as soon as we confirm there are not horrible perf
|
||||
// penalties.
|
||||
|
||||
Reference in New Issue
Block a user