hypothesis / hypothesis/frontend-shared

Intra-page fragment linking not working with `wouter`

Open
#1,053 0 comments 0 reactions 0 assignees View on GitHub
pattern library
Dominant language
TypeScript
Stars
8
Forks
5
PR merge metrics
No merged PRs in 30d

Description

(This can probably be boiled down to `wouter` not reacting to `hashChange` events).

While a link to a page with a fragment/hash now works with `wouter`, fragment linking within a single route/page does not work (nothing happens). Presumably this is because we need to configure `wouter` appropriately.

There's some slightly abstruse documentation about [customizing the location hook in related ways](https://github.com/molefrog/wouter#customizing-the-location-hook) in `wouter`'s README.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.