Don't useCallback unless necessary #24
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
ui
User interface implementation
Milestone
website/src/components/constructs/Layout/partials/Nav/Nav.js
Lines 30 to 31 in 49ffc4b
it's recommended by the react team to not useCallback unless you see perf issues. I'd recommend just creating the function without the useCallback hook.
The text was updated successfully, but these errors were encountered: