HisGlory.ai — React Bug-Fixing & Stabilisation
A React bug-fixing engagement on an AI-powered product, focused on stabilising the front-end, untangling state issues and shipping a reliable build.
HisGlory.ai is an AI-powered product built on a React front-end. I came into this engagement after the initial team had shipped the first version — the product worked in spirit, but the front-end was carrying a number of state-management bugs, race conditions on async actions, broken edge cases in the UI and a handful of regressions that surfaced under real-user load.
The work was fundamentally diagnostic before it was constructive. I went through the codebase systematically, reproduced each reported bug locally, traced it to its actual root cause rather than its surface symptom, and fixed it in a way that did not silently introduce new failure modes elsewhere. Several of the bugs were classic React traps — stale closures over state, effects firing in the wrong order, key-mismatched lists triggering remounts — and the fixes were as much about restructuring the data flow as they were about patching individual lines.
Alongside the fixes, I tightened a few UX rough edges, hardened error handling on the network boundaries and left the codebase in better shape than I found it — clearer component boundaries, fewer implicit dependencies and a build that the team can extend without the same class of bugs reappearing. This is the kind of work that does not show up on a flashy portfolio screenshot, but it is the work that decides whether a product survives its first thousand users.