Skip to content

alexgriff/redux-auth-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redux Auth Template

This repo works with this backend here: https://github.com/alexgriff/painting-example-app-backend/tree/auth Make Sure you are on the auth branch of the backend

This code is not meant to be copied and pasted wholesale. It should serve as an example to follow. You should build out your auth flow sequentially, using this repo like a code-along / guide.

Note: In the withAuth HOC a lot of the complexity in the conditionals stems from the case of when an authenticated user refreshes the page on a route they are authorized to see. If that was ignored, everything would be significantly simpler.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published