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

> React doesn't compute diffs

I think this is a bit pedantic. React computes what is essentially an edit path from one tree to another, so yes, it is computing diffs for all intents and purposes. That said, you're right that implicit and explicit key matching are not only for optimizations; they're for persisting state as well.



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

Search: