---
title: createMemorySessionStorage
---

# createMemorySessionStorage

[MODES: framework, data]

## Summary

[Reference Documentation ↗](https://api.reactrouter.com/v7/functions/react_router.createMemorySessionStorage.html)

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.