How to efficiently reuse stories in your React tests
#305 — May 24, 2021 | View in browser |
React Digest
Spread the word, build the community, share the knowledge – invite your friends.
sponsor
5 Reasons Not to Write Your JavaScript Data Grid From Scratch
Of the many awesome things JavaScript developers can build, most are enjoyable, some give you a headache, but also satisfaction in the end, and a handful should be labeled “Here be dragons.” The author presents five compelling reasons why creating a data grid from scratch falls into the latter category.
this week's favorite
How to efficiently reuse stories in your React tests
Storybook is the best way to develop UI components in isolation. Teams write hundreds or even thousands of stories to catalog all their key component states. This is incredibly useful for prototyping, documentation, review, and more. So useful that it’s used by teams at Github, Netflix, and Spotify and many others.
Clean pattern for handling roles and permissions in large-scale React apps
Any React application starts off nice and clean until you start layering conditional logic on top of it. And it quickly gets worse when you start adding granular permissions and roles.
React 17 onFocus and onBlur internals
In React, the onFocus event is called when the element receives focus and onBlur event is called when focus has left the element. There are 4 types of native focus events, focus/blur which do not bubble and focusin/focusout which bubble.
Passing data from server to the React app
This article shows how to pass json data from Express.js or AEM backend to the React app.
Color pickers are often found inside a dialog or a dropdown. Building those components so that they have proper UX and behave as expected is not trivial. Being that this is not the main focus of this blog post, I'm going to assume that the <ColorPicker> will be always visible.
newsletters

Older messages
React vs React Native: Differences, advantages & limitations
Sunday, May 16, 2021
And more news, tutorials and articles about React in this week's issue. #304 — May 17, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite your
Improving slow mounts in React apps
Sunday, May 9, 2021
And more news, tutorials and articles about React in this week's issue. #303 — May 10, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite your
21 best practices for a clean React project
Sunday, May 2, 2021
And more news, tutorials and articles about React in this week's issue. #302 — May 03, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite your
The definitive guide to profiling React applications
Sunday, April 25, 2021
And more news, tutorials and articles about React in this week's issue. #301 — April 26, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite your
Export React components as images
Monday, April 19, 2021
And more news, tutorials and articles about React in this week's issue. #300 — April 19, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite your
You Might Also Like
Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator
Friday, February 14, 2025
What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Defining Your Paranoia Level: Navigating Change Without the Overkill
Friday, February 14, 2025
We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy
5 ways AI can help with taxes 🪄
Friday, February 14, 2025
Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help
Recurring Automations + Secret Updates
Friday, February 14, 2025
Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The First Provable AI-Proof Game: Introducing Butterfly Wings 4
Friday, February 14, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%
GCP Newsletter #437
Friday, February 14, 2025
Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers
Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰
Friday, February 14, 2025
Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from
The Great Social Media Diaspora & Tapestry is here
Friday, February 14, 2025
Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great
Daily Coding Problem: Problem #1689 [Medium]
Friday, February 14, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,
📧 Stop Conflating CQRS and MediatR
Friday, February 14, 2025
Stop Conflating CQRS and MediatR Read on: my website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your