Files
react-native/Libraries/Utilities
Kevin Gozali a89e9323fc Cache Platform constants in JS
Summary: For better perf with TurboModule, cache the return value of NativePlatformConstants*.getConstants() in JS so that we avoid going back into native (from JS) for each call. This specific method is called very frequently throughout RN codebase.

Reviewed By: mdvacca

Differential Revision: D15893289

fbshipit-source-id: ce8016ed7d3efb420df93e27dbfa77d7d4f06cf8
2019-06-18 23:10:50 -07:00
..
2019-05-20 02:52:37 -07:00
2019-03-06 14:57:30 -08:00
2019-05-29 16:37:15 -07:00
2019-05-29 16:37:15 -07:00
2019-05-30 22:42:24 -07:00
2019-06-18 23:10:50 -07:00