Understand array methods by implementing them all
The best way to understand array methods is to rebuild them. Implement map, filter, reduce and many more from scratch and compare with the originals.
Page 2 of 4. The full notebook, newest first, with no gaps and no filler.
The best way to understand array methods is to rebuild them. Implement map, filter, reduce and many more from scratch and compare with the originals.
Async actions have states that are easy to forget. Compare three ways to track pending, success and failure in Redux, from booleans to a dedicated reducer.
The mouse is a flow breaker in Visual Studio Code. These keyboard shortcuts cover splitting, navigation, definitions, the terminal and more.
Deno is a secure TypeScript runtime built on V8. Understand its permission model, module system and TypeScript support and how it differs from Node.js.
Sets and filter make duplicate removal simple, but there are trade offs. Compare the shortcut with a hand written solution and see how each behaves.
Node.js runs on one thread but worker threads change the story. Learn how to move work off the main thread, share memory and build channels.
Copying objects in JavaScript has more depth than it looks. Compare shallow copy, deep copy, assign and merge, with the bugs each approach can hide.