Skip to content

URLParams not able to work with react HashRouter #824

Description

@AlloVince

Issue Type: BUG

Platform: Web

Description:

My project is using react HashRouter, so the expected URL should as index.html#/search?q=foo

In reactivesearch, I saw the URLParamsProvider hard code params from window.location.search, in this case, window.location.search will be always empty, so URLParams not able to work with react HashRouter

In project searchkit, there is a getLocation callback to handle all url before changing window.location, maybe this is a solution to fix this issue.

Looking forward this issue be fixed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions