React Digest #340: Mastering the art of forms in React
#340 — January 24, 2022 | View in browser |
React Digest
Spread the word, build the community, share the knowledge – invite your friends.
sponsor
What Is Vite: The Guide to Modern and Super-Fast Project Tooling
Vite is a modern, blazing-fast tool for scaffolding and bundling projects—quickly becoming popular due to near-instant code compilation and rapid hot module replacement. In this article, you will learn what Vite is, how to scaffold a new project with it, and more.
this week's favorite
Mastering the art of forms in React
I recently published an article about re-rendering in React where I used a simplified form example to show how using state for the value of a text input causes the component to re-render on every change. I was surprised by the number of comments I received suggesting uncontrolled inputs went against the “React” way of creating inputs.
We think Remix has a better set of tradeoffs than Next.js. There is a lot of nuance in this conversation that's left un-captured in the shiny graphs and animations.
Good advice on JSX conditionals
Conditional rendering is a cornerstone of any templating language. React / JSX bravely chose not to have a dedicated conditional syntax, like ng-if="condition", relying on JS boolean operators instead.
Why practicing DRY in tests is bad for you
This post is a bit different from the recent ones I’ve published. I’m going to share my point of view on practicing DRY in unit tests and why I think it is bad for you. Care to know why?
How we migrated 541 components from Styled Components to Emotion
Refactoring CSS is one of the most challenging tasks as a frontend developer. You need to improve the code without altering the look and feel of the UI.
newsletters
Older messages
React Digest #339: How to write performant React code: Rules, patterns, do's and don'ts
Sunday, January 16, 2022
And more news, tutorials and articles about React in this week's issue. #339 — January 17, 2022 View in browser React Digest Spread the word, build the community, share the knowledge – invite your
React Digest #338: A complete guide to React Router: Everything you need to know
Sunday, January 9, 2022
And more news, tutorials and articles about React in this week's issue. #338 — January 10, 2022 View in browser React Digest Spread the word, build the community, share the knowledge – invite your
React Digest #337: Debounce vs throttle
Sunday, January 2, 2022
And more news, tutorials and articles about React in this week's issue. #337 — January 03, 2022 View in browser React Digest Spread the word, build the community, share the knowledge – invite your
React Digest #336: Modern API data-fetching methods in React
Sunday, December 26, 2021
And more news, tutorials and articles about React in this week's issue. #336 — December 27, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite your
React Digest #334: How to build stunning 3D scenes with React Three Fiber
Sunday, December 12, 2021
And more news, tutorials and articles about React in this week's issue. #334 — December 13, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite your
You Might Also Like
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
⚙️ 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