mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
a6fffb7cd0
Summary: Previously codegenNativeCommands was just a hint to the babel transform. This meant that in order to use the codegen'd JS command functions it required having the babel transform turned on. We aren't ready to turn the transform on for open source so we are adding runtime behavior to the function that will run when it isn't replaced with the transform. Reviewed By: rickhanlonii Differential Revision: D16574781 fbshipit-source-id: 583e8857f69ae1695445ee887432d15248dd35a9