Navigating React State: Redux, Context, and the New Kid, Recoil

Managing state beyond simple component scope is one of the perennial challenges. Redux was the default answer for anything complex, but the landscape recently feels… different. Hooks have fundamentally changed how we write React, and with them came a resurgence of interest in built-in solutions and even some exciting new contenders. We’re seeing teams actively questioning the need for heavyweight libraries on every project. Can the built-in Context API truly handle complex applications? And what about this new experimental library, Recoil, that Facebook dropped on us earlier this year? ...

October 26, 2020 · 6 min · 1257 words · Dennis Lin

Testing WebAssembly Performance: Image Processing Example

As we find ourselves firmly in the middle of 2020 (what a year so far, right?), web developers have spent several years working with WebAssembly (WASM). What began as an exciting experiment has now matured into a robust, production-ready technology with widespread browser support and growing adoption across the industry. The Performance Promise JavaScript has served us well for decades, but we’ve all hit that performance wall, the point where no amount of optimization seems to help. Whether you’re building data visualization tools, complex animations, or processing user-generated content, JavaScript’s interpreted nature introduces unavoidable overhead. ...

May 16, 2020 · 5 min · 1018 words · Dennis Lin