Dmytro Rykun and GitHub
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
..
2023-03-14 21:00:22 -04:00
2024-04-01 10:52:34 -04:00
2024-04-17 20:04:22 +02:00
2024-04-11 08:19:46 -04:00
2024-04-17 11:15:27 -07:00
2024-04-17 11:15:27 -07:00
2024-04-17 11:15:27 -07:00
2024-04-17 12:29:08 -04:00
2024-04-16 10:28:16 +02:00
2024-04-15 14:56:57 +01:00
2024-04-15 14:56:57 +01:00
2024-04-15 14:56:57 +01:00
2024-04-12 17:26:37 +01:00
2024-04-15 14:56:57 +01:00
2024-04-15 13:05:05 +01:00
2024-04-16 10:28:16 +02:00
2024-04-15 14:56:57 +01:00
2024-04-17 11:15:27 -07:00
2024-04-10 16:55:15 -04:00
2024-04-17 11:15:27 -07:00
2024-04-18 17:24:07 +01:00
2024-04-10 16:54:24 -04:00
2024-04-18 11:49:55 -04:00
2024-04-17 11:15:27 -07:00
2024-04-17 12:29:08 -04:00
2024-03-26 15:31:57 -04:00
2024-03-08 17:39:27 -05:00
2024-04-17 11:15:27 -07:00
2024-04-17 11:15:27 -07:00
2024-04-08 19:23:23 -04:00
2024-04-17 11:15:27 -07:00
2024-04-17 11:15:27 -07:00
2024-04-18 17:24:07 +01:00
2024-04-10 10:33:41 -04:00
2024-04-10 10:33:41 -04:00