Skip to content

Commit 3f02418

Browse files
committed
Merge pull request reduxjs#801 from julen/docs/migrating
Migrating docs: point to `createStore()` source file
2 parents 9f02037 + f537111 commit 3f02418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/recipes/MigratingToRedux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ It is also possible to do the reverse and migrate from Redux to any of these lib
1313

1414
Your process will look like this:
1515

16-
* Create a function called `createFluxStore(reducer)` that creates a Flux store compatible with your existing app from a reducer function. Internally it might look similar to [`createStore`](../api/createStore.md) implementation from Redux. Its dispatch handler should just call the `reducer` for any action, store the next state, and emit change.
16+
* Create a function called `createFluxStore(reducer)` that creates a Flux store compatible with your existing app from a reducer function. Internally it might look similar to [`createStore`](../api/createStore.md) ([source](https://github.com/rackt/redux/blob/master/src/createStore.js)) implementation from Redux. Its dispatch handler should just call the `reducer` for any action, store the next state, and emit change.
1717

1818
* This allows you to gradually rewrite every Flux Store in your app as a reducer, but still export `createFluxStore(reducer)` so the rest of your app is not aware that this is happening and sees the Flux stores.
1919

0 commit comments

Comments
 (0)