hooks
hooks copied to clipboard
React Native APIs turned into React Hooks for use in functional React components
# Summary resolve issue: https://github.com/react-native-community/hooks/issues/286 ## Test Plan ### What's required for testing (prerequisites)? ### What are the steps to reproduce (after prerequisites)? ## Compatibility | OS | Implemented |...
https://user-images.githubusercontent.com/31690470/143810127-706fa687-af00-4551-a5e6-bb0a6b3d88dd.mp4
`EventEmitter.removeListener('appStateDidChange', ...): Method has been deprecated. Please instead use remove() on the subscription returned by EventEmitter.addListener. `
Do you have any ideas on how to support the next hooks as they are deprecated or removed? Shell we will mark them as `@deprecated` too (using comments), or add...
Apparently this has broken. `auto` is not releasing with PR merges anymore. We should fix that.
# Question  Trying to use the useDimensions library from @react-native-community/hooks but I can't install it. Any help?
Currently, `useDeviceOrientation` only tells us "landscape" or "portrait". But devices actually have four orientations, not two -- portrait up, portrait down, landscape left, and landscape right. It would be very...
There are some cases when interaction manager's task executing when component have already unmounted and React return a warning when setState happed on unmounted component. The whole warning you can...