You might not need React Router
Konstantin Tarkus
1.4K41

react-router v4 is terrible. Now your tests have to be aware of it and completely coupled to it even if your tests have nothing to do with testing custom routes. That’s garbage. Teams who test or TDD know exactly what I mean, this is not simple, and react-router v4 now leaks into your tests too…and you have no choice but to wrap the components you’re testing with react-router components.

Like what you read? Give Dave Schinkel a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.