Skip to content

Repository files navigation

React / TypeScript Bug Fix Lab

Three small production failures reproduced and fixed through user-visible behavior:

  1. Async search race — an older response can no longer overwrite the latest query.
  2. Duplicate submission — rapid repeated input triggers one pending write.
  3. Filtered pagination — shrinking a result set cannot leave the user on an invalid page.

Each case has an automated regression test at the public UI boundary. No internal implementation detail is asserted.

Verify

npm install
npm test
npm run typecheck
npm run build

Why this repository exists

This is a compact, inspectable example of the workflow I use for fixed-scope React/TypeScript repairs: reproduce the problem, protect the expected behavior with a test, implement the smallest correction, and run the production build.

Contact: Yuanliang Ma — mayuanliang1104@gmail.com

About

Three reproducible React and TypeScript production bugs fixed with behavior-first regression tests.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages