3 ms·
I think React, in particular in combination with a flux pattern such as redux, has only shifted complexity. Complexity shifted from a mess of jQuery event hand
by djfm 11y ago
I think React, in particular in combination with a flux pattern such as redux, has only shifted complexity.
Complexity shifted from a mess of jQuery event handlers shuffling the DOM around to an intimidating mathematical abstraction in the form of functional programming.
The benefit is that you can reason about pure functions, whereas you cannot reason about a mess of intertwined event handlers.
Between to equally complex problems, react forces you to converge on a problem that you can actually solve.
Programming is hard. I think what's happening now is that we're starting to discover issues that were previously hidden by problems that are now solved.