{
 "schema_version": 1,
 "generated": "2026-10-30",
 "id": "winnin-farol--check-a-react-app-pr-for-pages-a-shared-component-reaches",
 "repo": "winnin/farol",
 "repo_url": "https://github.com/winnin/farol",
 "repo_slug": "winnin-farol",
 "title": "Find every page a shared React component change reaches",
 "page_title": "How to find every page a shared React component change reaches with Farol",
 "summary": "Use Farol's React Router recipe to list the pages a change touches before you merge.",
 "who": "A frontend developer changing a shared hook or component used across many pages.",
 "problem": "A one-line change to a shared hook can break dozens of pages nobody thought to test.",
 "outcome": "A list of every page the change reaches, with the call chain, so you test the right ones by hand.",
 "steps": [
  "cd into the React app",
  "Run `echo '{ \"routes\": { \"file\": \"src/routes.tsx\" } }' > farol.config.json`",
  "Run `npx @winninjs/farol routes` to list your pages",
  "Check out your feature branch and run the analyze and html commands",
  "Mark pages behind a feature flag in the report and tick files as reviewed to watch the risk drop"
 ],
 "agent_prompt": "Configure winnin/farol for this React Router app, analyze <branch>, and list every page the change reaches with its call chain so I know what to test by hand.",
 "agents": [
  "claude-code",
  "cursor"
 ],
 "difficulty": "Beginner",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js 22+ and git",
  "go for Go projects, python3 3.11+ for Python projects",
  "Optional: coverage, lint and audit reports from your CI"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/winnin-farol/check-a-react-app-pr-for-pages-a-shared-component-reaches/",
 "md": "https://dedupedai.com/use-cases/winnin-farol/check-a-react-app-pr-for-pages-a-shared-component-reaches/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/winnin-farol--check-a-react-app-pr-for-pages-a-shared-component-reaches.json",
 "api_version": "v1"
}
