markjgsmith

Linkblog

Patterns for Reactivity with Modern Vanilla JavaScript - I haven't done a huge amount of frontend javascript recently, so this was a very refreshing and enlightening piece. It collects together the main patterns used to implement reactivity in the browser using plain old vanilla javascript. Patterns like PubSub, Observer, Proxies, Signals and Observables as well as using Object.defineProperty. Also covers using classes, async and native browser APIs such as MutationObserver, Web Components, IntersectionObserver, requestAnimationFrame and the Web Animations API. Some great examples such as reactively rendering a simple HTML UI listing pizzas, interactive scrolling, animation and game loops, reactive animations, and reactive CSS. Monster article packed with awesome stuff. frontendmasters.com #

For enquiries about my consulting, development, training and writing services, aswell as sponsorship opportunities contact me directly via email. More details about me here.