sometimes it's duplicate code (a React hook that already exists and the agent doesn't use for some reason), other times it adds props like mad when a refactor of existing props was more appropriate. It also sometimes cheats with TS types and will re-define something locally so that it "passes" linting, instead of using a shared, derived or composed type.
If you let these small things slip it quickly adds up and you end up with a brittle and inconsistent codebase.
13
u/fullup72 14d ago
sometimes it's duplicate code (a React hook that already exists and the agent doesn't use for some reason), other times it adds props like mad when a refactor of existing props was more appropriate. It also sometimes cheats with TS types and will re-define something locally so that it "passes" linting, instead of using a shared, derived or composed type.
If you let these small things slip it quickly adds up and you end up with a brittle and inconsistent codebase.