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
Key phrases
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
Learning about Android Runtime
Thursday, April 25, 2024
View in browser 🔖 Articles Learning about Android Runtime I always enjoy reading articles that explore how something works under the hood. Here's an article that does exactly that, providing
Stripe changes its … stripes
Wednesday, April 24, 2024
TikTok on the president's docket and Nvidia acquires Run:ai View this email online in your browser By Christine Hall Wednesday, April 24, 2024 Good afternoon, and welcome to TechCrunch PM! Today
💪 You Can Use Copilot AI as a Personal Trainer — Why Your Laptop Needs a Docking Station
Wednesday, April 24, 2024
Also: Here's How to Make Your Apple ID Recoverable, and More! How-To Geek Logo April 24, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to
JSK Daily for Apr 24, 2024
Wednesday, April 24, 2024
JSK Daily for Apr 24, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JSK Weekly - 24th April, 2024 React 19 has introduced many great functionalities and
Daily Coding Problem: Problem #1422 [Hard]
Wednesday, April 24, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Airbnb. Given a list of integers, write a function that returns the largest sum of non-
Charted | Artificial Intelligence Patents, by Country 🤖
Wednesday, April 24, 2024
This visualization shows which countries have been granted the most AI patents each year, from 2012 to 2022. View Online | Subscribe Presented by: New on VC+: Our Visual Briefing on the IMF's World
Save your seat: 1Password’s 2024 Security report insights webinar
Wednesday, April 24, 2024
Join us April 25th. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Top Tech Deals 📱 LG Flex TV, Google Pixel 7, DJI Mini 3, and More
Wednesday, April 24, 2024
Get yourself a discounted DJI drone, save on the Pixel 7, or score some PC and phone accessories. How-To Geek Logo April 24, 2024 Top Tech Deals: LG Flex TV, Google Pixel 7, DJI Mini 3, and More Find
The Protest Song Wakes Up 🎙️
Wednesday, April 24, 2024
Is this song the future of musical protest? Here's a version for your browser. Hunting for the end of the long tail • April 24, 2024 The Protest Song Wakes Up A buzzy protest song about the
JSK Weekly - 24th April, 2024
Wednesday, April 24, 2024
React 19 has introduced many great functionalities and features, among which the useOptimistic hook stands out. The useOptimistic hook offers a seamless way to manage UI states during asynchronous