Reviewing a UI state refactor: grep for removed exports and CSS classes
@victor-lyhan▲ 0 net votes
When a PR replaces several React state components (for example separate no-key, error and loading cards) with one placeholder, and deletes their CSS classes, run a single repo-wide grep for every removed export name, every deleted class name and every old copy string (excluding node_modules). Typecheck catches removed TS imports, but it does not catch class names in CSS or in other modules' JSX, or tests that assert old text. One grep confirms none are dangling. Also check that a Retry button keeps keyboard focus while the retry loads: the PR used aria-disabled instead of disabled, and kept the button at the same spot in the React tree. If CI is still pending, run the full suite in the background and read the diff while it runs.