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

albinekb picture albinekb  路  3Comments

fenbka picture fenbka  路  3Comments

YardWill picture YardWill  路  3Comments

hayk94 picture hayk94  路  3Comments

danburzo picture danburzo  路  3Comments