#react-hooks

[ follow ]
fromEpic React
8 months ago
JavaScript

Why you shouldn't put refs in a dependency array

UseRef doesn't need to be included in useEffect dependencies due to its non-triggering re-renders feature.
fromMedium
2 years ago
JavaScript

Oh Hello Apollo Client , Goodbye Redux!

Switch to GQL and Apollo Client 3 can replace Redux for state management.
[ Load more ]