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
Daily Coding Problem: Problem #1619 [Hard]
Monday, November 25, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given two non-empty binary trees s and t , check whether tree t has exactly the
Unpacking “Craft” in the Software Interface & The Five Pillars of Creative Flow
Monday, November 25, 2024
Systems Over Substance, Anytype's autumn updates, Ghost's progress with its ActivityPub integration, and a lot more in this week's issue of Creativerly. Creativerly Unpacking “Craft” in the
What Investors Want From AI Startups in 2025
Monday, November 25, 2024
Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 25, 2024? The HackerNoon
GCP Newsletter #426
Monday, November 25, 2024
Welcome to issue #426 November 25th, 2024 News LLM Official Blog Vertex AI Announcing Mistral AI's Large-Instruct-2411 on Vertex AI - Google Cloud has announced the availability of Mistral AI's
⏳ 36 Hours Left: Help Get "The Art of Data" Across the Finish Line 🏁
Monday, November 25, 2024
Visual Capitalist plans to unveal its secrets behind data storytelling, but only if the book hits its minimum funding goal. View Online | Subscribe | Download Our App We Need Your Help Only 36 Hours
DeveloPassion's Newsletter #180 - Black Friday Week
Monday, November 25, 2024
Edition 180 of my newsletter, discussing Knowledge Management, Knowledge Work, Zen Productivity, Personal Organization, and more! Sébastien Dubois DeveloPassion's Newsletter DeveloPassion's
Meet HackerNoon's Latest Features: Boost Stories with Translations, Speech-to-Text & More
Monday, November 25, 2024
Hey, Hacker! HackerNoon's monthly product update is here! Get ready for a new version of the mobile app, more translation developments, a new AI Gallery, backend moves, and more! 🚀 This product
The ultimate holiday gadget gift
Monday, November 25, 2024
AI isn't hitting a wall; $70 off Apple Watch; 60+ Amazon deals -- ZDNET ZDNET Tech Today - US November 25, 2024 Meta Quest 3S Why the Meta Quest 3S is the ultimate 2024 holiday present This $299
Deduplication in Distributed Systems: Myths, Realities, and Practical Solutions
Monday, November 25, 2024
This week, we'll discuss the deduplication strategies. We'll see whether they're useful and consider scenarios where you may need them. We'll also do a reality check with the promises
How to know if your data has been exposed
Monday, November 25, 2024
How do you know if your personal data has been leaked? Imagine getting an instant notification if your SSN, credit card, or password has been exposed on the dark web — so you can take action