Dmytro Rykun
0061ca6cf4
Add early return to diffProperties ( #28842 )
...
## Summary
This PR adds early return to the `diff` function. We don't need to go
through all the entries of `nextProps`, process and deep-diff the values
if `nextProps` is the same object as `prevProps`. Roughly 6% of all
`diffProperties` calls can be skipped.
## How did you test this change?
RNTester.
2024-04-18 17:24:07 +01:00
..
2024-03-11 20:17:07 -04:00
2024-04-18 17:24:07 +01:00
2022-10-18 11:19:24 -04:00
2023-10-02 13:55:39 -04:00
2023-11-07 10:16:33 -08:00
2023-03-27 13:43:04 +02:00
2024-04-08 19:23:23 -04:00
2023-01-31 08:25:05 -05:00
2022-10-18 11:19:24 -04:00
2024-01-17 21:41:07 -05:00
2024-04-02 07:57:08 -07:00
2023-10-11 12:18:49 -04:00
2022-10-18 11:19:24 -04:00
2022-10-18 11:19:24 -04:00
2024-04-02 07:57:08 -07:00
2024-02-21 14:59:08 -05:00
2022-10-18 11:19:24 -04:00
2017-10-25 02:55:00 +03:00
2024-04-08 19:23:23 -04:00
2024-04-09 12:20:22 -04:00
2024-04-04 11:20:15 -04:00
2024-04-18 17:24:07 +01:00
2022-10-18 11:19:24 -04:00
2024-02-19 12:36:16 -05:00
2024-04-09 12:20:22 -04:00
2024-04-17 12:29:08 -04:00
2024-04-05 12:48:52 -04:00
2024-03-26 15:31:57 -04:00
2024-03-26 23:44:07 -04:00
2023-05-09 10:45:50 -04:00