React Digest - React Digest #370: Why React Re-Renders
#370 — August 22, 2022 | View in browser |
React Digest
Spread the word, build the community, share the knowledge with your friends.
sponsor
Does creating a beautiful and functional Heatmap Chart in less than 50 lines of React code sound mystical? And, yes, this includes the imports and component boilerplate. Here's a blog that reveals the mystery.
this week's favorite
So, I'll be honest. I had been working professionally with React for years without really understanding how React's re-rendering process worked.
React Hooks: useThrottledValue and useThrottledFunction
This article explains the new React 18 hooks useDeferredValue and useTransition and compares them to throttle and debounce functions. It also presents two similar custom hooks, useThrottledValue and useThrottledFunction, which can be used to throttle a function or value change when the React hooks isn't sufficient.
The Study of Shaders with React Three Fiber
When writing my first Three.js scene from start to finish in Building a Vaporwave scene with Three.js, I felt an immense sense of achievement. However, all I really did in this project was glue a couple of PNGs and maps I drew on Figma onto a plane and make the scene move.
Avoiding useEffect with callback refs
Even though refs are mutable containers where we can theoretically store arbitrary values, they are most often used to get access to a DOM node.
Selective Hydration with React 18 and Suspense
Interaction to Next Paint (INP) measures your site’s responsiveness to user interactions on the page. The faster your page responds to user input – the better. INP is an experimental metric to develop a better way of measuring responsiveness than First Input Delay (FID).
jobs
Want to build an open source alternative to Shopify?
Medusa, the most popular JS-based e-commerce platform on GitHub, just raised an $8M seed round and is looking to expand their team. Check out their open positions.
how did you like this issue?
1 = didn't like it at all and 5 = loved it and shared it with everyone I know
newsletters

Older messages
React Digest #369: React re-renders guide: everything, all at once
Sunday, August 14, 2022
And more news, tutorials and articles about React in this week's issue. #369 — August 15, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your
React Digest #368: I was creating Forms the wrong way
Sunday, August 7, 2022
And more news, tutorials and articles about React in this week's issue. #368 — August 08, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your
React Digest #367: React State Management in 2022
Sunday, July 31, 2022
And more news, tutorials and articles about React in this week's issue. #367 — August 01, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your
React Digest #366: Reading Source Code: React
Sunday, July 24, 2022
And more news, tutorials and articles about React in this week's issue. #366 — July 25, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your friends
React Digest #365: Applying SOLID principles in React
Sunday, July 17, 2022
And more news, tutorials and articles about React in this week's issue. #365 — July 18, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your friends
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