Skip to content

Getting 'lodash.debounce' issue with Version 2.11.0 with Next.js #452

Closed Answered by juliencrn
dolmios asked this question in Help
Discussion options

You must be logged in to vote

Hi, lodash.debounce is a usehooks' optional peer dependency required in useDebounceCallback. You need to npm i lodash.debounce to use this hook. It was added that way to minimize the bundle size, only pay for what you use.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by juliencrn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants