diff --git a/docs/API.md b/docs/API.md index 1281eeca8f..86910b7e39 100644 --- a/docs/API.md +++ b/docs/API.md @@ -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. +`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). ### `useRouterHistory(createHistory)`