Context and Your Own React Hook

A tutorial for writing a simple authentication React Hook

Avery Duffin
Better Programming
Published in
2 min readNov 14, 2019

--

Really, it’s pretty simple. At first, it may seem like it’d be really complex. But it really is simple. First, you need to figure out what you would like to hookify. If you don’t understand the new Context API, it might be good to do a little refresher on that before you read this.

--

--

Im a software engineer, react developer, inventor, salesman, family man, religious, and outdoor connoisseur