<MemoryRouter>

This is a <Router> that keeps the history of your “URL” in memory (does not read or write to the address bar). Useful in tests and non-browser environments like React Native.


<MemoryRouter
  basename={optionalString}
  initialEntries={optionalArray}
  initialIndex={optionalNumber}
>
  <App />
</MemoryRouter>

The old "getUserConfirmation" and "keyLength" attributes are gone; "initialEntries" and "initialIndex" still work the same as before.