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

Yes, practically force re-render comes with unnecessary mechanism to prevent it from happening, and there are unimaginable cases of state mutation that shouldn't force re-render. Example situation: changing state A, B and C, re-rendering, changing B again, not rendering. Auto-render + prevention mechanism is inferior means compared to just having `render` and just calling it whenever and wherever.


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

Search: