Debouncing events in React JS | Dictionary App PART 3 | useCallback Hook | lodash

preview_player
Показать описание
Lets learn Debouncing and delaying events in React JS with lodash and useCallback hook.
Checkout the Dictionary App Tutorial -

If any questions, ask me here -

Source Code -
Рекомендации по теме
Комментарии
Автор

Hahaha when you did the Callback thing I said "Yes that the way I see", and then when you just remove it for the final solution I was like "Whut ? That's it ?" Thank you for this with the simplest and lightest solution :D

flo_dev
Автор

Nice! 🎯🎯🎯. I will always subscribe to promote good works.

leonardmbibi
Автор

Why we making API call everytime, why not use call once and search for the results?

nikhilkumarjamwal
Автор

Just what I needed, thank you very much! I'm a bit worried about the code you deleted from TextField - value={word}.

Before deletion that component was controlled and after deletion it became uncontrolled. Is that fine? Do you know if there is a way to make it controlled component, but still use debounce function?

lukaskrisikaitis
Автор

I don’t understand why debounce works on handler without useCallback? Can you explain? Thanks

alex-dkrj
Автор

2:57 i thought my headphone is broken that i bought just 2days ago :D

codingtime
Автор

Thank you very much, i was facing the same issue on react, the event called multiple times after the delay, thank you very much for the solution.

sreenivasanv
Автор

Not expected debounce from some library. It could have been better from scratch.

mohitpandey
Автор

You gave a solution, but wasnt explaining clearly whatever you tried in between. That could have been much better

abinanto