- Token based authentication or JWT. This one is good for Django Rest Authentification.
- The first line of defense in protecting sensitive data is your REST API and its auth system, not your React SPA. This solution is just for intelligent routing, not protecting sensitive data.
- Redux or equivalent state management framework that allows you to easily connect components to a single source of truth state.
If you're familiar with the React concept of "lifting state up",