HenrikJoreteg / HenrikJoreteg/set-query-string
Document location's hash gets removed
Open
- Dominant language
- JavaScript
- Stars
- 11
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
If my URL is
```
https://foo.com/page#anchor
```
and I call `setQuery({ a: 1 })`, the URL becomes
```
https://foo.com/page?a=1
```
when I would expect it to retain the hash to become
```
https://foo.com/page?a=1#anchor
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.