React Digest #365: Applying SOLID principles in React
#365 — July 18, 2022 | View in browser |
React Digest
Spread the word, build the community, share the knowledge with your friends.
sponsor
How To Build a Real-Time Updating Data Grid in React
There are plenty of examples out there of building a data grid using static data, but what about live streaming data? This blog post explains how you can create a real-time grid that uses the KendoReact Data Grid. Check it out.
this week's favorite
Applying SOLID principles in React
As the software industry grows and makes mistakes, the best practices and good software design principles emerge and conceptualize to avoid repeating the same mistakes in the future. The world of object-oriented programming (OOP) in particular is a goldmine of such best practices, and SOLID is unquestionably one of the more influential ones.
Learn how to build, test and deploy a bookstore app
This guide will cover in detail the steps to create a working example bookstore single page application using the latest React 18 and run it using the Vite. It also includes details on how to add a custom state management solution and routing using the wouter library.
Hooks are reusable functions. They allow you to use state and other features (e.g. lifecycle methods and so on) without writing a class. Hook functions let us “hook into” the React state lifecycle using functional components, allowing us to manipulate the state of our functional components without needing to convert them to class components.
Migrating from Styleguidist to Storybook
By transitioning from Styleguidist to Storybook, we were able to offer a faster and more user-friendly development environment for React components along with better alignment to developer and designer workflows. In this post we’ll take a deep dive into how and why we migrated to Storybook.
Actionless and Stateless Reducers in React
I think useReducer is pretty great and underutilized, and conversely useState overutilized. useReducer usually comes in to play when state updating logic gets unwieldy. So unwieldy and spread out over many components that it needs to be consolidated, with the state updates mapped out in a single function; a reducer. Usually reducers are half state-machines with long a switch statement with a case for each action type (or many if/elses, same thing). Maybe your reducer is particularly gnarly and has few nested conditions, oh boy.
projects
No more endless back-and-forth on tracking plans
Objectiv is ready-to-use infrastructure for advanced product analytics. Set up validated event tracking for React apps, based on a generic event structure. Built together with 50+ companies to cover many modeling use cases. Open-source with developer tooling: inline documentation & linting in IDE/console, client/server side validation and end-to-end testing tools for the tracking instrumentation.
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 #364: How to animate multiplayer cursors
Sunday, July 10, 2022
And more news, tutorials and articles about React in this week's issue. #364 — July 11, 2022 View in browser React Digest Spread the word, build the community, share the knowledge with your friends
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
You Might Also Like
Hacker Newsletter #697
Friday, April 26, 2024
Don't watch the clock; do what it does. Keep going. //Sam Levenson hackernewsletter Issue #697 // 2024-04-26 // View in your browser #Favorites Lattice is the AI-powered people platform that
TikTok threatens shutdown 📱, FCC passes net neutrality 🌐, the robotics renaissance 🤖
Friday, April 26, 2024
ByteDance would rather shut down TikTok than sell the company Sign Up |Advertise|View Online TLDR Together With Plaid TLDR 2024-04-26 6 fintech predictions you need to know for 2024 (Sponsor)
📧 What's inside MMA and how it can help you
Friday, April 26, 2024
What's Inside Modular Monolith Architecture? Hey there! 👋 I wish you an excellent end to the week. What better way to spend the weekend than diving headfirst into a 12+ hour course? Well, maybe
Data Science Weekly - Issue 544
Friday, April 26, 2024
Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Develop highly relevant search applications using AI
Friday, April 26, 2024
New Elasticsearch and AI training ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect A world of AI possibilities door-test 2.png Explore
Stripe makes more changes
Thursday, April 25, 2024
TikTok is in trouble, and net neutrality is back View this email online in your browser By Christine Hall Thursday, April 25, 2024 Welcome back to TechCrunch PM, your home for all things startups,
💎 Issue 414 - From a Lorry Driver to Ruby on Rails Developer at 38
Thursday, April 25, 2024
This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 414 Release Date Apr 25, 2024 Your weekly report of the most popular Ruby news, articles and
💻 Issue 414 - JavaScript Features That Most Developers Don’t Know
Thursday, April 25, 2024
This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 414 Release Date Apr 25, 2024 Your weekly report of the most popular Node.js news, articles and
💻 Issue 407 - The Performance Impact of C++'s `final` Keyword
Thursday, April 25, 2024
This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 407 Release Date Apr 25, 2024 Your weekly report of the most popular .NET news, articles and projects
💻 Issue 414 - Everyone Has JavaScript, Right?
Thursday, April 25, 2024
This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 414 Release Date Apr 25, 2024 Your weekly report of the most popular JavaScript news, articles