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

What's a mutation bug?

In react, mutating a model is a bug. It's left up to the developer to remember not to do that. Outside of react, mutating a model seems like a natural fit for the way stuff actually works and it's not considered a bug.



I mean a bug where some variable gets mutated implicitly, as a side effect of some other code change.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: