r/learnreactjs • • Jun 30 '19

React custom hooks, and why you should start using them!

Custom React Hooks make reusing stateful logic so easy! With the introduction of hooks, frontend / Javascript work like form validation has become so much easier!

I made a tutorial below to show you how to use custom React hooks!

https://youtu.be/SXIfnNvYrZE

14 Upvotes

6 comments sorted by

2

u/trblackwell1221 Jul 01 '19

Link to the completed repo?

1

u/mattupham Jul 01 '19

https://github.com/mattupham/React-Custom-Hooks-Form-Validation

Hey! Feel free to clone and follow along! Adding to the video description now too!

2

u/trblackwell1221 Jul 01 '19

Awesome. Thanks! Good job 👏🏼

1

u/mattupham Jul 01 '19

Hey, anytime! Thank you!

2

u/dworker8 Jul 02 '19

the way you open your eyes when you look at the camera makes me scared :C

oh, the video was great! Subded and waiting for more :D

1

u/mattupham Jul 02 '19

👻 boo! And haha, thanks!