Skip to content

Commit

Permalink
added link to multiple stores
Browse files Browse the repository at this point in the history
  • Loading branch information
jonbnewman committed Feb 25, 2020
1 parent c6caeab commit da7a95e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/api/useStore.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ function Header() {
export default observer(Header);
```

Using a unique `identifier` is often done when your application has more than one `store`.

See: [Using multiple stores](/using-multiple-stores).

### Using a mapStateToProps callback

With this callback you can return slices of the store with a selector function, or do additional processing before the component accesses it.
Expand Down

0 comments on commit da7a95e

Please sign in to comment.