3 ms·
React was a great idea; the problem was they did it in JavaScript instead of a pure, functional language. There's too many footguns where JS features like mutab
by peterkelly 4y ago
React was a great idea; the problem was they did it in JavaScript instead of a pure, functional language. There's too many footguns where JS features like mutability and async code can leak through, leading to a whole class of errors that could have been caught by a compiler but instead were left as cognitive load imposed on developers.
- jakelazaroff 4y agoThe (lack of) popularity of Elm and ReasonML are probably instructive as to how well React would have done in a pure functional language.