Files
react-native/packages/react-native
Pieter De Baets 3c87455c12 Emit warning when props parsing encounters inconsistent duplicate keys (#39149)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/39149

Props structs are allowed to references RawValue keys multiple times, however this didn't work correctly if the key was formed out of a different combination of prefix/name/suffix, as the duplicate key entry would've been removed from the `RawPropsKeyMap`. Log an error in such scenarios to help identify these types of problems.

Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D48641819

fbshipit-source-id: 8cf71366cbf8ae6bee418a6c9d030ebd38784d52
2023-08-25 05:13:39 -07:00
..
…
…
…