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

There's no such thing as UI = f(state) in React. You may know that already, but it's UI = f(allStatesStartingFromInitialState). That way all state transitions are captured and all state changes are handled accordingly inside components taking into account component's internal state.


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

Search: