Back to React Router

createMemorySessionStorage

docs/api/utils/createMemorySessionStorage.md

7.6.2421 B
Original Source

createMemorySessionStorage

[MODES: framework, data]

Summary

Reference Documentation ↗

Creates and returns a simple in-memory SessionStorage object, mostly useful for testing and as a reference implementation.

Note: This storage does not scale beyond a single process, so it is not suitable for most production scenarios.