lt-app icon indicating copy to clipboard operation
lt-app copied to clipboard

Cleanup: use the `useCallback` hook where appropriate

Open SyntaxBlitz opened this issue 4 years ago • 2 comments

I think we need a lot of these, but I never really bothered when I was prototyping.

SyntaxBlitz avatar May 28 '20 06:05 SyntaxBlitz

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

schonfeld avatar Jun 16 '20 05:06 schonfeld

totally agree, I found out about that hook pretty late so never actually used it.

SyntaxBlitz avatar Jun 17 '20 01:06 SyntaxBlitz