• Initialise a Store with an initial RootState - any array, tuple or object. This state can be updated and monitored for updates to drive an app.

    Ideally your State is defined as Immutable<State> to prevent inadvertent mutations to state, bypassing store.write())

    Type Parameters

    • State extends unknown

    Parameters

    Returns Store<State>