molefrog / molefrog/wouter

Changes in URL Structure Affecting Link Component and Search Parameters

Open
#473 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
7.9k
Forks
190
Avg merge
12h 50m
Merged PRs (30d)
3

Description

I think this change(#465) should have been a MINOR version update at the very least. The change in the URL structure has broken some previously working links, and without an automatic conversion between the old and new structures, some search parameters are now lost.

Another issue is that I can't remove search parameters in the Link component.(https://codesandbox.io/p/sandbox/inspiring-violet-jdpyyy) While this might be more in line with URI standards, it's quite different from most implementations. Because of the issues caused by the minor version auto-upgrade, I'm currently locked to version 3.3.0.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing change #465 and reproducing the Link component behavior in the linked CodeSandbox. Trace how the URL structure and search parameters are handled, then verify that existing links remain usable and that search parameters can be removed as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.