Skip to content
This repository was archived by the owner on Oct 26, 2018. It is now read-only.
This repository was archived by the owner on Oct 26, 2018. It is now read-only.

Skip very first @@router/LOCATION_CHANGE #439

Closed
@rybon

Description

@rybon

When starting the app, this dispatch is always fired:

{
    "type": "@@router/LOCATION_CHANGE",
    "payload": {
        "pathname": "/",
        "search": "",
        "hash": "",
        "state": null,
        "action": "POP",
        "key": null,
        "query": {},
        "$searchBase": {
            "search": "",
            "searchBase": ""
        }
    }
}

Is there a way to turn that off? I tried adjustUrlOnReplay: false, but I still see this dispatch happening. In a test environment I want the app to be inert, in other words not trigger a dispatch on its own, so I can feed it recorded dispatches later on. Is that possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions