Update from October 2018: We have updated our Netlify Identity Widget Example to show you how to use Netlify Identity with React Router.