A framework for building native applications using React
Correctly compare oldProps in RCTPullToRefreshViewComponentView (#50092)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50092 `oldProps` can be null, so this is an unsafe dereference. We also typically compare with `_props`, which represents the previous state of the component. Changelog: [General][Fixed] Fixed crash in RCTPullToRefreshViewComponentView#updateProps Reviewed By: cipolleschi Differential Revision: D71388015 fbshipit-source-id: deff9c581ee207c4481056a720c10dfd661f088d
P
Pieter De Baets committed
fab7fa88e3bd3c84a0ffe0c027e14185b037120d
Parent: 1f0b27a
Committed by Facebook GitHub Bot <[email protected]>
on 3/18/2025, 12:23:29 PM