createSessionStorage
react-router

createSessionStorage

createSessionStorage<Data = SessionData, FlashData = Data>(props): SessionStorage<Data, FlashData>

Creates a SessionStorage object using a SessionIdStorageStrategy.

Note: This is a low-level API that should only be used if none of the existing session storage options meet your requirements.

Parameters

Docs and examples CC 4.0