Logan Daniels
122dc37afe
Deeply compare viewabilityConfigs to avoid triggering invariant unnecessarily
...
Summary:
Currently, modifying a component that renders a FlatLists while Hot Reloading is enabled will trigger an invariant inside FlatList for changing viewabilityConfig on the fly. This happens because it checks object equality between the configs.
By checking equality of the config's *properties* instead, we maintain the efficacy of the invariant but keep it from falsely triggering during development.
Reviewed By: sahrens
Differential Revision: D9466129
fbshipit-source-id: 67149e9e70ad7b2e2584bb7ec03e2dea26ef45e8
2018-08-24 14:32:07 -07:00
..
2018-06-19 23:48:12 -07:00
2018-08-09 08:54:44 -07:00
2018-08-22 13:48:53 -07:00
2018-05-10 19:10:38 -07:00
2018-07-19 19:02:13 -07:00
2018-08-09 08:54:44 -07:00
2018-08-09 08:54:44 -07:00
2018-06-20 00:47:21 -07:00
2018-07-30 11:17:08 -07:00
2018-06-06 05:32:06 -07:00
2018-08-24 14:04:09 -07:00
2018-08-18 22:19:34 -07:00
2018-08-09 08:54:44 -07:00
2018-08-22 18:31:36 -07:00
2017-08-09 07:48:09 -07:00
2018-06-19 23:48:12 -07:00
2018-08-24 14:04:09 -07:00
2018-08-09 08:54:44 -07:00
2018-08-09 08:54:44 -07:00
2018-08-09 08:54:44 -07:00
2018-04-25 07:37:10 -07:00
2018-05-10 19:10:38 -07:00
2018-06-19 23:48:12 -07:00
2018-08-24 14:32:07 -07:00
2018-06-10 13:45:57 -07:00
2018-06-19 23:48:12 -07:00
2018-08-13 11:16:41 -07:00
2018-08-09 08:54:44 -07:00
2018-05-10 19:10:38 -07:00
2018-08-23 14:02:10 -07:00
2018-06-19 23:48:12 -07:00
2018-08-22 18:31:36 -07:00
2018-08-22 18:31:36 -07:00
2018-08-23 13:01:41 -07:00
2018-08-22 13:03:15 -07:00
2018-08-09 08:54:44 -07:00
2018-08-08 10:48:19 -07:00
2018-05-10 19:10:38 -07:00
2018-05-10 19:10:38 -07:00
2018-08-09 08:54:44 -07:00
2018-08-01 15:32:01 -07:00
2018-02-16 18:31:53 -08:00
2018-08-24 13:33:08 -07:00
2018-07-31 21:01:41 -07:00
2018-08-24 14:04:09 -07:00
2018-08-09 10:47:58 -07:00
2018-08-09 08:54:44 -07:00
2018-06-28 11:49:32 -07:00
2018-03-08 12:10:14 -08:00
2018-08-09 08:54:44 -07:00
2018-02-27 08:42:14 -08:00
2018-05-10 19:10:38 -07:00
2018-05-10 19:10:38 -07:00
2018-08-09 08:54:44 -07:00