PURESCRIPT, NPM — In the hours following another package disaster on npm in which a lone developer killed more than dozens of CI builds and caused serious warnings in thousands of others, developers…
Earlier this week, I found and addressed some malicious code in the purescript npm installer. The malicious code was inserted into dependencies of the installer: specifically, packages maintained by @shinnn, the original author of the purescript npm installer, and also the maintainer (until around a month ago).
The last two videos were devoted to the beautiful ReasonML language. Now it's time to get back to Earth, spicifically to React and the case for the performance optimizations with Hooks (this video is set to release tomorrow). Long story short, don't optimize before there is a need for it. As usually for the WeekendJS subscribers, this link will give you 22% off.
The DIFFing algorithm looks for differences between two virtual DOM. Wait. Two virtual DOMs? I thought there was just one. Well, React compares the previous virtual DOM with the newly generated one…