Skip to content

Fziliotti/react-custom-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is a study abouts the customHooks.

Official Documentation: https://pt-br.reactjs.org/docs/hooks-custom.html


Some hooks

  • useRoute
  • useAsync
  • usePosts (with query)
  • useGiphy (with masonry grid and lazyloading)
  • useReactHookForm (https://react-hook-form.com/get-started)
  • Implementing some showcases of library react-use with some nice hooks.

Questions

  1. If I use the useDebounce hook on inputs forms improve performance, but what is the best solution to prevent errors when user digit the text quickly and click on submit button?
    1. Codesandbox: https://codesandbox.io/s/x0jvqrwyq

Nice to see

About

Some custom hooks =)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published