Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Definitely agree. In the time it took you to mock your the state management, the backend endpoints, and the browser localStorage to isolate your unit, you probably could have written it in Playwright end-to-end with nothing mocked. The you'd actually know if your react code broke when the API changed, instead of pretending your out of date mock is still in sync.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: