Re:We now consider Moment.js to be a legacy project in maint...
by dragonwriter on Tuesday September 15, 2020 @02:37AM
(#24478473)
> I don't think mutability is JS design flaw. It was designed for manipulating UI - computer screen, which is mutable.
You don't need, or particularly benefit from, language-level mutability to specify the next state of UI as a function of previous state plus new inputs, which is really the best way to model interactivity.
You don't need, or particularly benefit from, language-level mutability to specify the next state of UI as a function of previous state plus new inputs, which is really the best way to model interactivity.