Skip to content

Commit 6af27b8

Browse files
authored
remove factory.js (#186)
1 parent a945df5 commit 6af27b8

File tree

2 files changed

+0
-65
lines changed

2 files changed

+0
-65
lines changed

README.md

-9
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Very much inspired by (and copied from) [react-router-redux](https://github.com/
1414
- [API](#api)
1515
- [RouterStore](#routerstore)
1616
- [syncHistoryWithStore](#synchistorywithstorehistory-store)
17-
- [Factory](https://github.com/IBM/mobx-react-router#factory)
1817

1918

2019
This branch (master) is for use with **react-router v6**.
@@ -153,11 +152,3 @@ Un-syncs the store from the history. The store will **no longer update** when th
153152
history.unsubscribe();
154153
// Store no longer updates
155154
```
156-
157-
### Factory
158-
159-
Some utils to facilitate the migration from react-router v4/v5 to v5.1 and v6:
160-
161-
A simple **Router** component that just accepts a **history** as a prop.
162-
163-
A **withRouter** method (see [What happened to withRouter?](https://reactrouter.com/en/main/start/faq#what-happened-to-withrouter-i-need-it) for more information).

src/factory.js

-56
This file was deleted.

0 commit comments

Comments
 (0)