Skip to content

Commit

Permalink
Merge pull request #3696 from reactjs/createMemoryHistory-docs-tweak
Browse files Browse the repository at this point in the history
Improve copyediting on createMemoryHistory docs
  • Loading branch information
taion committed Aug 2, 2016
2 parents e91af71 + bbc96ba commit f0a7d14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/API.md
Expand Up @@ -622,7 +622,7 @@ For more details, please see the [histories guide](/docs/guides/Histories.md).


### `createMemoryHistory(options)`
`createMemoryHistory` creates an in-memory `history` object that does not interact with the browser URL. This is useful when you need to customize the `history` used for server-side rendering, as well as for automated testing or cases where you cannot/should not manipulate the browser history (for example when your application gets embedded in an iframe).
`createMemoryHistory` creates an in-memory `history` object that does not interact with the browser URL. This is useful for when you need to customize the `history` object used for server-side rendering, for automated testing, or for when you do not want to manipulate the browser URL, such as when your application is embedded in an `<iframe>`.


### `useRouterHistory(createHistory)`
Expand Down

0 comments on commit f0a7d14

Please sign in to comment.