debug-frontend
Stop. Do not edit any file yet. Work through these 5 steps in order.
Step 1 — Locate the layer
Next.js bugs almost always live in one of 5 layers. Identify which one before touching code.
| Symptom | Likely layer | First grep |
|---|---|---|
| 500 / runtime error in browser | Client component | grep -rn "'use client'" src/features/<domain>/components/ |
| Hydration mismatch | Server vs client divergence | `grep -rn "Date()|Math.random|windo |
[Description truncada. Veja o README completo no GitHub.]