Yeah tell me about it. As soon as you put a
NavLink in a component, your tests will break if you’re using
react-test-renderer. Pro-tip, you can use enzyme’s
shallow instead and it won’t try and render those nav links. But if you had a bunch of components using
react-test-renderer for nice clean snapshots you’ll need to use enzyme’s
.debug() to get something similar and it’s all just a bit fat mess.
react-router really does create a lot of extra work.