Closed johannesaxner-valtech closed 4 years ago
After digging a bit I've realized this isn't a problem with React Router but rather with Azure Devops. It seems that it uses the history
package in our project and not the one required by react-router-last-location
. Builds work fine locally but break in Azure DevOps.
After upgrading React Router to version 5.2 my builds break.
I get the following error:
I assume this is due to the changes in history in the latest React Router and it's usage in the file
RedirectWithoutLastLocation.tsx
.