React Digest #364: How to animate multiplayer cursors
#364 — July 11, 2022 | View in browser |
React Digest
Spread the word, build the community, share the knowledge with your friends.
sponsor
React Editor or Text Area—How To Choose?
Would your React app work best with a rich-text editor or a text area where users can input information? This post can help you decide and learn how to implement the best choice.
this week's favorite
How to animate multiplayer cursors
Multiplayer cursors are becoming an increasingly common sight across all sorts of collaborative tools, but have you ever wondered how they’re animated? Animating real-time cursors is more complex than it first may seem, thanks to network and connection limitations. Here’s a quick overview of a few different methods, with some React snippets to get you started. Let’s dive in!
How to refactor large React components
We are always excited about the new shiny things that come out every week in the programming world, from new ways to structure components to new techniques to reduce those two lines of code.
The mystery of React Element, children, parents and re-renders
Children are not children, parents are not parents, memoization doesn’t work as it should, life is meaningless, re-renders control our life and nothing can stop them.
useConfirm — A custom React hook to prompt confirmation before action
When developing Web applications, sometimes we have to prompt a confirmation dialog to user before performing an action (e.g. delete user). It’s inefficient to create multiple dialogs and it’s hard to maintain a bunch of duplicate logics across components. Let’s create our own useConfirm hook from scratch.
Apollo Supergraph: A GraphQL stack for everything
The folks at Apollo have been working with GraphQL since 2016, back when they were still Meteor Software. Versatility has always been at the core of Apollo, when they released their GraphQL-based datastack in 2016 its calling card was ‘any backend, any language, any client’. The idea was clear, to have one tool for building a GraphQL client and server which can then be used to either build a new app from scratch or fit into an existing project, so that it can take full advantage of the perks of GraphQL.
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 #363: My Wonderful HTML Email Workflow, using MJML and MDX for responsive emails
Sunday, July 3, 2022
And more news, tutorials and articles about React in this week's issue. #363 — July 04, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your friends
React Digest #362: How We Built Hydrogen: A React Framework for Building Custom Storefronts
Sunday, June 26, 2022
And more news, tutorials and articles about React in this week's issue. #362 — June 27, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your friends
React Digest #361: Notes on maintaining an internal React component library
Sunday, June 19, 2022
And more news, tutorials and articles about React in this week's issue. #361 — June 20, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your friends
React Digest #360: Why, Oh Why Was This Added?
Sunday, June 12, 2022
And more news, tutorials and articles about React in this week's issue. #360 — June 13, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your friends
React Digest #359: Why most design systems implode
Sunday, June 5, 2022
And more news, tutorials and articles about React in this week's issue. #359 — June 06, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your friends
You Might Also Like
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
⚙️ Amazon and Anthropic
Monday, November 25, 2024
Plus: The hidden market of body-centric data
⚡ THN Recap: Top Cybersecurity Threats, Tools & Tips (Nov 18-24)
Monday, November 25, 2024
Don't miss the vital updates you need to stay secure. Read the full recap now. The Hacker News THN Recap: Top Cybersecurity Threats, Tools, and Practices (Nov 18 - Nov 24) We hear terms like “state
Researchers Uncover Malware Using BYOVD to Bypass Antivirus Protections
Monday, November 25, 2024
THN Daily Updates Newsletter cover Generative AI For Dummies ($18.00 Value) FREE for a Limited Time Generate a personal assistant with generative AI Download Now Sponsored LATEST NEWS Nov 25, 2024 THN
Post from Syncfusion Blogs on 11/25/2024
Monday, November 25, 2024
New blogs from Syncfusion Build World-Class Flutter Apps with Globalization and Localization By Lavanya Anaimuthu This blog explains the globalization and localization features supported in the
Is there more to your iPhone?
Monday, November 25, 2024
Have you ever wondered if there's more to your iPhone than meets the eye? Maybe you've been using it for years, but certain powerful features and settings remain hidden. That's why we'
🎉 Black Friday Early Access: 50% OFF
Monday, November 25, 2024
Black Friday discount is now live! Do you want to master Clean Architecture? Only this week, access the 50% Black Friday discount. Here's what's inside: 7+ hours of lessons .NET Aspire coming
Open Pull Request #59
Monday, November 25, 2024
LightRAG, anything-llm, llm, transformers.js and an Intro to monads for software devs ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Last chance to register: SecOps made smarter
Monday, November 25, 2024
Don't miss this opportunity to learn how gen AI can transform your security workflowsㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect