Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Uncaught Invariant Violation: 4.3.1 -> 5.0.1 w/ monorepo use of shared components #6769
New bug when upgrading from 4.3.1 -> 5.0.1
Steps to reproduce
Using a monorepo or
I've proved this by moving the shared components package into the
I should be able to
referenced this issue
Jun 7, 2019
This is a symptom of what I want to solve with #6755.
Unfortunately, this isn't actually a bug with this library. You have two copies of react-router, one from the host project and one from the guest project. AFAIK, there isn't a way to resolve this when using a link. This is a "bug" of npm, essentially.