Sprinkle extra refactorings, code actions and commands over your JavaScript! 🍩 TypeScript and Flow are first class citizens as well!
159
stars
13
forks
source link
Suggestion: React: Wrap value into `useMemo()` hook #34
Open
OliverJAsh opened 4 years ago
The
useCallback
quick fix is great! Perhaps we could provide a similar fix foruseMemo
? E.g. to convertto
or drop the dependency since the React lint rule will automatically fix that