react-router-v7-params-debug
CommunityFix missing route params in React Router v7 apps.
Authorfreedomw1987
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the common breaking change in react-router-dom v7 where route parameters are no longer automatically passed as component props, leading to undefined parameter values, failed API requests, and broken functionality for pages that rely on URL params like authentication tokens or user emails.
Core Features & Use Cases
- Breaking Change Diagnosis: Quickly identifies if a component is using the outdated v6 pattern of destructuring params from props instead of the v7 required useParams hook.
- Step-by-Step Debugging: Provides clear instructions to instrument fetch calls, verify build updates, and clear cached assets to rule out common caching issues.
- Edge Case Handling: Includes solutions for URL-encoded parameters like email addresses that require decodeURIComponent processing.
- Use Case: For example, after upgrading a React app to react-router-dom v7, a password reset page that previously worked stops sending the required token in API requests; this Skill fixes the broken param passing in minutes.
Quick Start
Use the react-router-v7-params-debug skill to fix undefined route parameters in your React Router v7 application components.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: react-router-v7-params-debug Download link: https://github.com/freedomw1987/tree_monstor/archive/main.zip#react-router-v7-params-debug Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.