Open in Editor does not work with $ or ( ) in the file path

Open
#248 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
devtools

Research direction

Start by reproducing the Open in Editor failure with a route path containing $ or parentheses, then trace the path as it is passed to @tanstack/devtools. Done means files using these React Router conventions open successfully in the editor; add or update the relevant regression coverage if the repository has it.

Written by the indexing model from the issue text.

Description

I am using remix-flat-routes for my routing and these RR conventions don't open. These characters probably need to be escaped with \ before passing it to @tanstack/devtools

Dominant language
TypeScript
Stars
975
Forks
55
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

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.

More from code-forge-io/react-router-devtools

All issues in code-forge-io/react-router-devtools

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.