kriasoft / react-firebase-starter

Boilerplate (seed) project for creating web apps with React.js, GraphQL.js and Relay
https://firebase.reactstarter.com
MIT License
4.51k stars 751 forks source link

React router #181

Open ChenLi0830 opened 7 years ago

ChenLi0830 commented 7 years ago

Hi there, this project implemented its own routing solution and increased the learning curve to some extent. I was wondering if there is any specific reason React Router is not used in this project? Thanks!

jdelafon commented 7 years ago

The author wrote a page on the subject: "You might not need React-router" that you may find interesting. There are good arguments there.

Some arguments against a home-made router however are that

The biggest problem I have had is that I could not make it work with HMR (although it is part of this project). See #166.