lt-app
lt-app copied to clipboard
Cleanup: use the `useCallback` hook where appropriate
I think we need a lot of these, but I never really bothered when I was prototyping.
Tacking onto this, I've noticed a lot of props.navigation.addListener
that can benefit from using react-navigation's own hooks useFocusEffect
and useIsFocused
edit: I actually got most of these done in #27
totally agree, I found out about that hook pretty late so never actually used it.