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
A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.