4 ms·
Memoization is a good thing, but not many people understand compliers. So we should celebrate that React is helping to push it into the consciousness of front e
by icc97 9y ago
Memoization is a good thing, but not many people understand compliers. So we should celebrate that React is helping to push it into the consciousness of front end developers.
React isn't really inventing anything fundamentally new in terms of computer science but I think they are introducing a lot of people to good concepts that already existed.
Douglas Crockford was writing about it for JS [0] back in 2008 which is still a long way behind compilers and, say, Haskell but it has been used in JavaScript at least a decade.
[0]: https://stackoverflow.com/questions/3798858/explanation-on-javascript-the-good-parts-example-section-4-15 https://stackoverflow.com/questions/3798858/explanation-on-j...