react-native-macos/Libraries/Pressability
Joshua Gross 4c0d802b4f Ensure that Pressability no longer calls configured callbacks after unmount
Summary:
Previously `reset` was not doing anything about configured callbacks, and after unmount (especially in Fabric) it was possible for callbacks to be called on unmounted nodes due to race conditions.

Changelog: [Internal]

Reviewed By: lunaleaps

Differential Revision: D23041046

fbshipit-source-id: eb9ebc8e99a0d244a2033e97178bf8ede8b5c7b2
2020-08-10 16:43:49 -07:00
..
__tests__ Pressable: Minimum Press Duration 2020-05-18 21:28:10 -07:00
HoverState.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
Pressability.js Ensure that Pressability no longer calls configured callbacks after unmount 2020-08-10 16:43:49 -07:00
PressabilityDebug.js Make ColorValue public in StyleSheet.js 2020-04-17 13:03:47 -07:00
usePressability.js Do not explicitly include ".js" in Library imports (#28311) 2020-03-17 02:11:53 -07:00