3 ms·
> 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
by dragonwriter 6y ago
> 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.