mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
2e3bcdfda5
Summary: So I was adding a new HTTPCookie prop to our WebView native component and found that my build was [failing](https://www.internalfb.com/diff/D32602297?dst_version_fbid=338931330931416) due to "redefinition of `value`". Looks like we use the name of the prop as a variable name during codegen, and this can conflict with some other hardcoded variable names. Rather than try and come up with a better prop name, I figured we can just append some string to our codegen name to reduce the chance for conflicts. Changelog: [Internal][Changed] - Change codegen variable naming to prevent conflicts to prop names Reviewed By: JoshuaGross Differential Revision: D32967807 fbshipit-source-id: 1b3631ec783b229eddfd3c801ffbb397910fc882