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
The bill to ban TikTok is barreling ahead
Friday, April 19, 2024
The Morning After It's Friday, April 19, 2024. The bill that could ban TikTok in the United States inches closer to becoming law. The legislation passed the House of Representatives last month,
Digest #134: TDD with Serverless, Terraform AI Conversions, K8s Cost Metrics & OpenTofu Response
Friday, April 19, 2024
Learn to convert Terraform templates, deploy SSR on AWS Amplify, and apply TDD to Serverless. Gain insights on PostgreSQL, microfrontends, and secure APIs. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Akira Ransomware Gang Extorts $42 Million; Now Targets Linux Servers
Friday, April 19, 2024
THN Daily Updates Newsletter cover Webinar -- The Future of Threat Hunting Is Powered by Generative AI From Data to Defense: Step Into the Next Era of Cybersecurity with CensysGPT Download Now
ASP.NET Core News - 04/19/2024
Friday, April 19, 2024
View this email in your browser Get ready for this weeks best blog posts about ASP.NET Core! This newsletter is sponsored by elmah.io - the most advanced, yet so simple to set up, error logging and
Post from Syncfusion Blogs on 04/19/2024
Friday, April 19, 2024
New blogs from Syncfusion Syncfusion Prepares for MS Build 2024 with Cloud-Ready Solutions on Azure Marketplace By gingerr Syncfusion offers cloud-ready solutions in Azure Marketplace for MS Build 2024
Hacker Newsletter #696
Friday, April 19, 2024
The greatest value of a picture is when it forces us to notice what we never expected to see. //John W. Tukey hackernewsletter Issue #696 // 2024-04-19 // View in your browser #Favorites Unlock your
Google's massive reorg 🧑🤝🧑, Meta's Llama 3 launch 🤖, China bans WhatsApp 💬
Friday, April 19, 2024
Google has reorganized its Android, Chrome, and Google hardware divisions Sign Up |Advertise|View Online TLDR TLDR 2024-04-19 📱 Big Tech & Startups Meta's battle with ChatGPT begins now (5
Is your Notes app completely disorganized?
Friday, April 19, 2024
Hi there, Is your Notes app completely disorganized? In a recent survey we found that 77% of our readers would like to learn how to better organize the notes on their iPhone. That's why we're
Data Science Weekly - Issue 543
Friday, April 19, 2024
Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
A deal made in cloud security heaven
Thursday, April 18, 2024
Meta's Llama 3 goes public and hackers hold World-Check data for ransom View this email online in your browser By Christine Hall Thursday, April 18, 2024 Welcome to TechCrunch PM! I'm glad you