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

No, this implicit state is a very practical concern in React. For example see this highly upvoted SO post. Text fields lose focus on re-render; the solution is to use a unique key so that the view gets re-used and the implicit state is preserved.

https://stackoverflow.com/questions/22573494/react-js-input-...



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

Search: