mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 01:25:39 +00:00
b90b57c9a1
Summary: We already do this on Android, and it allows uw to avoid doing this global object lookup for every call. Since there's only a couple of global functions we ever call, we should consider caching all of them in the new bridge. I didn't ValueProtect/ValueUnprotect since these are already globals, and those methods are not exposed on the JSC wrapper. Reviewed By: mhorowitz Differential Revision: D3411487 fbshipit-source-id: 7feaf8803665b77d649e84edad875d31c5acee4b