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-08 08:48:59 -07:00
2019-06-11 17:11:58 -07:00
2019-06-13 08:45:54 -07:00
2019-06-05 16:05:34 -07:00
2019-05-08 08:48:59 -07:00
2019-05-30 07:45:16 -07:00
2019-05-23 00:51:31 -07:00
2019-05-20 18:05:55 -07:00
2019-05-23 07:06:21 -07:00
2018-09-11 15:33:07 -07:00
2019-06-17 11:29:45 -07:00
2019-06-17 10:59:05 -07:00
2019-05-23 05:37:33 -07:00
2019-05-08 08:48:59 -07:00
2019-05-08 08:48:59 -07:00
2019-05-23 00:51:31 -07:00
2019-06-11 00:29:27 -07:00
2019-05-31 19:56:37 -07:00
2019-05-08 08:48:59 -07:00
2019-05-08 08:48:59 -07:00
2019-05-08 08:48:59 -07:00
2019-05-23 00:51:31 -07:00
2019-05-20 01:32:53 -07:00
2019-06-03 23:03:41 -07:00
2019-05-31 19:56:37 -07:00
2019-06-06 04:52:19 -07:00
2019-05-31 10:58:02 -07:00
2019-06-06 11:34:11 -07:00
2019-06-03 06:51:09 -07:00
2019-05-23 00:51:31 -07:00
2019-05-31 10:58:02 -07:00
2019-05-03 12:27:21 -07:00
2019-05-16 14:20:29 -07:00
2019-06-11 00:29:27 -07:00
2019-06-12 16:18:36 -07:00
2019-05-20 07:16:57 -07:00
2019-06-07 11:38:31 -07:00
2019-06-11 15:22:23 -07:00
2019-05-30 07:45:16 -07:00
2019-05-08 08:48:59 -07:00
2019-05-13 11:43:49 -07:00
2019-06-07 02:47:47 -07:00
2019-05-10 10:10:27 -07:00
2018-09-11 15:33:07 -07:00
2019-06-18 02:10:15 -07:00
2019-06-17 15:13:49 -07:00
2019-06-10 03:34:13 -07:00
2019-06-18 23:10:50 -07:00
2019-06-07 06:39:28 -07:00
2019-05-08 08:48:59 -07:00
2019-06-12 06:19:32 -07:00
2019-03-19 09:19:19 -07:00
2019-05-31 00:50:54 -07:00
2018-02-27 08:42:14 -08:00
2019-03-27 20:48:45 -07:00
2019-05-08 08:48:59 -07:00
2019-05-08 08:48:59 -07:00