Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 781 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 781 Bytes

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