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

Query object is not passed when using the back button #211

@adregan

Description

@adregan

If you:

  1. navigate to a page with a query param (eg. /products?q=cool)
  2. then navigate away from that page (eg. products/12345)
  3. then click the browser's back button (eg. products/12345 -> /products?q=cool)

In 1 the ROUTER_LOCATION_CHANGED action includes the query object in the payload; however, in 3 the query object is not available in the payload (but you do have access to the search param).

I have a small change to address this and will be opening a PR shortly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions