David Hammond
Jan 9, 2021

Great article. One suggestion. I would avoid is typing by using denounce technique like invoke function and if called again with 300 ms cancel. I have implemented with useRef. Like setTimeout to invoke func in 300ms but if called again before then clearTimeout. Better for real app. I think isTyping illustrates your point about the useEffect a little better.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

David Hammond
David Hammond

Written by David Hammond

Senior software engineer always trying to learn something new. Spend the majority of my time working with React, Angular, and developing cloud solutions.

No responses yet

Write a response