mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
dd5bb7b9e0
Summary: Ideally, native hooks should not require any sort of reference to self. Pull all those that fulfill this criteria into a class method (to make it impossible to accidentally capture self). Future diffs will pull more and more hooks into this category. Reviewed By: javache Differential Revision: D3528558 fbshipit-source-id: 270c5bec53674a91ec2129d55e5cad59440a51da