mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
48653a2a63
Summary: When converting an array into a Vec, we should also check whether the array pointer is `kCFNull`. In TurboModules, when an object's property is mapped to null, we simply do not insert that property into the corresponding `NSDictionary`. This causes the `NSDictionary` lookup to return `nil`. In the legacy infra, it looks like we may insert `kCFNull` into the `NSDictionary`, which will cause the lookup to return `kCFNull`. Reviewed By: fkgozali Differential Revision: D17716785 fbshipit-source-id: 62ffbe14aec7040edd6b3ce687769a285b14b5a1