Hacker News new | past | comments | ask | show | jobs | submit login

> React would be responsible for which elements need to be created and which can be updated in place.

That works for simple, read-only components. The moment the component starts managing its own interactivity you end up needing state, and at that point things break down. If you need to change props, you have to essentially recreate the component by changing key [1], and at that point, what is the benefit of React?

[1] https://legacy.reactjs.org/blog/2018/06/07/you-probably-dont...




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

Search: