Duration
5 min
Access
Free
Transcript
Available

Authentication state is one of the things that can really twist up our application's components with a bunch of if statements for handling that state. But there's a simple trick you can apply to reduce the complexity of your components.

This is based on my blog post: Authentication in React Applications