Digests » 275


The 5 Questions Every Unit Test Must Answer: Eric Elliott @ React Wednesdays

Finally, unit testing is no longer that thing you said you’d eventually get to, and purposely avoided. Eric Elliott dropped a masterclass in testing at React Wednesdays, a weekly Twitch show, complete with demonstrations and live coding. In this blog, we synthesize key ideas from Eric’s interview, which was rich with wisdom and clarity. Read more.

this week's favorite

Supercharge Testing React Applications With Wallaby.js

Ever had to switch your focus from your editor and to your terminal to see the results of your tests? This article will introduce you to Wallaby.js — a JavaScript productivity tool that supercharges your IDE by allowing you to get real-time feedback on your JavaScript tests in your code editor even before saving the file. You will also learn how to use Wallaby.js for testing React applications.

Advanced frontend Interview topics with React

First, let me be clear that this article doesn't teach you anything. This only organizes the topics and ideas with small summaries about each one.

What Are Higher-Order Components in React?

In this tutorial, we’ll explore what higher-order components are and why you might want to use them. We’ll also learn how you can combine them with the React Context API to create reusable components and behaviors. Let’s dig in!

React v17.0

The React 17 release is unusual because it doesn’t add any new developer-facing features. Instead, this release is primarily focused on making it easier to upgrade React itself.

Understanding when to use useMemo

It’s pretty common for people to say "Don’t use useCallback/useMemo everywhere!" without actually explaining cases where you would want to use useCallback/useMemo.


JavaScript / TypeScript Architect and Developer Advocate in London - to £100,000

You’re an expert JavaScript / TypeScript developer whose contributions to npm single-handedly raised the overall code quality there. You found React intriguing enough that you tried to implement your own clean-room version to better understand the design decisions. And now it’s time to build your masterpiece – our client needs a platform and a framework designed, with you as the architect.

Join over 12,600 readers for a free weekly email with fresh news, articles and tutorials.