Bookmarks tagged “code”
211 bookmarks tagged “code”
Picture perfect images with the modern element - Stack Overflow Blog
What’s so great about functional programming anyway?
To hear some people talk about functional programming, you’d think they’d joined some kind of cult. They prattle on about how it’s changed the way they think about code. They’ll extol the benefits of purity, at length. And proclaim that they are now able to “reason about their co
Stop requiring only one assertion per unit test: Multiple assertions are fi
JavaScript APIs You Don’t Know About — Smashing Magazine
In this article, Juan Diego covers the least known yet extremely useful APIs, such as the Page Visibility API, Web Sharing API, Broadcast Channel API and Internationalization API. Together we will see what they are, where we should use them, and how to use them.
Why React Re-Renders
In React, we don't update the DOM directly, we tell React what we want the DOM to look like, and React tackles the rest. But how exactly does it do this? In this tutorial, we'll unpack exactly when and why React re-renders, and how we can use this information to optimize the perf
React key attribute: best practices for performant lists
Looking into how React "key" attribute works, how to use it correctly, how to improve performance of lists with it, and why array index as key is a good idea sometimes
Faster JavaScript Builds with Metro | by Rae Liu | The Airbnb Tech Blog | M
How Airbnb migrated from Webpack to Metro and made the development feedback loop nearly instantaneous, the largest production build 50% faster, with marginal end-user runtime improvements. In 2018…
Using WebAssembly (created in Rust) for Fast React Components | www.joshfin
In this blog post we will learn how to leverage the Rust programming language to compile WebAssembly which we will then use in our React application. This gives us access to low-level components to speed up our code!
Writing a simple 16 bit VM in less than 125 lines of C | andreinc
Writing a simple VM for LC3 in less than 125 lines of C
How not to learn TypeScript
“TypeScript and I are never going to be friends”. Oh wow, how often have I heard this phrase? Learning TypeScript, even in 2022, can be frustrating it seems. And for so many different reasons. People who write Java or C# and find out things are working differently than they shoul
Trailing Slashes on URLs: Contentious or Settled?—zachleat.com
A post by Zach Leatherman (zachleat)























