Why you have to use localStorage for checking for authenticated routes in React.
I spent the day trying to figure out how to avoid using localStorage to stash a user. Ideally, i...
Tags: react, reactrouter, javascript, redux