React Router API Reference
    Preparing search index...

    Variable createSessionConst

    createSession: CreateSessionFunction = ...

    Creates a new Session object.

    Note: This function is typically not invoked directly by application code. Instead, use a SessionStorage object's getSession method.

    The initial data for the session.

    The identifier for the session. Defaults to an empty string for a new session.

    A new Session object.