-
Routing React Apps: The Complete Guide
https://scotch.io/tutorials/routing-react-apps-the-complete-guide
An in-depth article covering use of React-Router (v2) -
Let the URL Do the Talking
http://formidable.com/blog/2016/07/11/let-the-url-do-the-talking-part-1-the-pain-of-react-router-in-redux/
http://formidable.com/blog/2016/07/19/let-the-url-do-the-talking-part-2-bargaining-and-acceptance-with-redux-and-react-router/
http://formidable.com/blog/2016/07/25/let-the-url-do-the-talking-part-3-empower-the-url-with-redux-little-router/
http://formidable.com/blog/2016/09/13/introducing-nested-routing-in-redux-little-router/
A series of articles discussing pain points when using React-Router and Redux together, and introducing a library called Redux-Little-Router as an alternative -
Do I Even Need a Routing Library?
http://jamesknelson.com/even-need-routing-library/
Another excellent article from James K Nelson that digs into the core concepts behind a topic, this time looking at what routing libraries do, issues with browser history, and what to consider when deciding on a routing approach. -
Webpack code splitting with Create React App and React Router
https://www.drewbolles.com/blog/2016/11/14/webpack-code-splitting-with-create-react-app-react-router/
A quick example of how to use React-Router's hooks to set up code splitting with Webpack -
Multifactor Authentication in your React Apps
https://scotch.io/tutorials/multifactor-authentication-in-your-react-apps
A tutorial demonstrating how to use the Auth0 service, along with React Router, to implement multi-factor authentication for an app. -
How to Handle Routing in React
https://code.tutsplus.com/tutorials/understanding-how-to-handle-routing-in-react--cms-27355
A quick example of using React-Router v2 in a small React app -
React-router alternative: switch
https://medium.com/@daveford/react-router-alternative-switch-acd7961f08db
Some examples of simply using switch statements and the history API for routing -
Routing in React, the uncomplicated way
https://hackernoon.com/routing-in-react-the-uncomplicated-way-b2c5ffaee997
Examples of how to implement a custom routing approach, with minimal external dependencies.
-
How to Build a React Application with User Login and Authentication
https://stormpath.com/blog/build-a-react-app-with-user-authentication
Builds a small React app from the ground up, with use of React-Router for routing and the Stormpath SDK to handle authentication and authorization. -
JWT Authentication with React + Redux
http://www.thegreatcodeadventure.com/jwt-authentication-with-react-redux/
Demonstrates handling sign-in flow, including a dynamic login/logout link, and implementing routes that can only be seen by logged-in users. -
Role-based authorization using React-Router
http://frontendinsights.com/role-based-authorization-using-react-router/
A look at some ways to control component routes based on user roles -
Role based authorization in React
https://hackernoon.com/role-based-authorization-in-react-c70bb7641db4
Some alternative approaches to the previous post, using React component patterns like Higher Order Components to control authorization and rendering -
Dealing with Authentication in React
https://medium.com/@nesbtesh/dealing-with-authentication-in-react-cadb679fbc0f
Some short examples of saving an authentication token, writing queries to use and update that token, and checking the token when rendering components.