Skip to content

Commit f0a7d14

Browse files
authored
Merge pull request #3696 from reactjs/createMemoryHistory-docs-tweak
Improve copyediting on createMemoryHistory docs
2 parents e91af71 + bbc96ba commit f0a7d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ For more details, please see the [histories guide](/docs/guides/Histories.md).
622622

623623

624624
### `createMemoryHistory(options)`
625-
`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).
625+
`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>`.
626626

627627

628628
### `useRouterHistory(createHistory)`

0 commit comments

Comments
 (0)