mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
45ae1e4411
Summary: Motivation: * We don't use them much, and we already have `at`-methods, which are better. * We don't want to expose `ComponentDescriptor`s as shared pointers (because it's not clear, not so performant, and because we don't want to store them as shared pointer in the future); * In idiomatic C++ `[]` operator has mutating semantic, that's not what we want to communicate via the interface of the class. Reviewed By: sahrens Differential Revision: D14963487 fbshipit-source-id: dbfddee2ba90d70c3bb8dcf1959d553571c47bab