Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ridiculous_fish
on July 4, 2022
|
parent
|
context
|
favorite
| on:
UIs are not pure functions of the model (2018)
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:
https://stackoverflow.com/questions/22573494/react-js-input-...