News for hackers. Stuff that matters.
Re:Case against OOP is understated, not overstated (2020) by veidelis on Friday February 11, 2022 @08:56AM (#30301515)
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.

There are no comments on this comment yet.