Docz: Incompatible with react-router v3

Created on 6 Sep 2018  路  2Comments  路  Source: doczjs/docz

Our project uses react-router v3.

Run the server in dev mode and got an error

You have provided a history object created with history v4.x or v2.x and earlier. 
This version of React Router is only compatible with v3 history objects. 
Please change to history v3.x.

I got the error even with no any mdx files created.

Only removing react-router v3 from dependencies resolves the issue.

bug

All 2 comments

I'll release some new version this week with react-router inside the bundle of docz. It's already done, but I need to release... I think that this can fix your issue 馃檹

Confirm, it works with react-router v3 in just-released docz v0.11.1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brunolemos picture brunolemos  路  3Comments

danburzo picture danburzo  路  3Comments

ilyanoskov picture ilyanoskov  路  3Comments

kachkaev picture kachkaev  路  3Comments

bichotll picture bichotll  路  3Comments