React Digest #323: How to use React Context effectively

And more news, tutorials and articles about React in this week's issue.

#323 — September 27, 2021 View in browser

React Digest

Spread the word, build the community, share the knowledge – invite your friends.

sponsor

React Dashboard Tutorial—How To Build an Interactive Dashboard

Learn how to build a sleek-looking, interactive dashboard using the TileLayout. Check out all you can do with this deceptively simple component: drag, order and toggle dashboard widgets, create dynamically configurable tiles and more.

this week's favorite

How to use React Context effectively

In Application State Management with React, I talk about how using a mix of local state and React Context can help you manage state well in any React application. I showed some examples and I want to call out a few things about those examples and how you can create React context consumers effectively so you avoid some problems and improve the developer experience and maintainability of the context objects you create for your application and/or libraries.

6 use cases of the useEffect hook

Whenever we need to make use of side effects in our application, useEffect is the way to go. This hook doesn't present many complications, except for non-primitive data types, due to how JavaScript handles them.

React antipatterns to avoid

Here are some of the antipatterns most commonly seen in React applications and how to fix them. These antipatterns will make your codebase a nightmare to work with if you’re don’t learn to recognize and prevent them at their early stages.

How to create a “fashion police” with React Native and off-the-shelf AI

Imagine you’ve just stumbled into a Nordstrom at your local mall, lost in the Slenderman-looking mannequins and racks of overpriced coats. Or, more realistically, you’re browsing online because you’re too lazy to go to the store. You’re trying to find a birthday gift for your friend but you have no idea what they would like. What’s their style like? Do they want a ripped black shirt or a green and white striped sweater? You should know this, but you don’t.

React is declarative - what does it mean?

It's drilled into you when learning React that it is declarative. But what does declarative mean, and what is the opposite of declarative?

newsletters


© 2021 Bonobo Press
Would you like to advertise or post a job with us? Check out our latest media kit.
If you no longer wish to receive these emails, click to unsubscribe.

Key phrases

Older messages

React Digest #322: Best practices for React developers in 2021

Sunday, September 19, 2021

And more news, tutorials and articles about React in this week's issue. #322 — September 20, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite

React Digest #321: Taming the beast that is CSS-in-JS

Sunday, September 12, 2021

And more news, tutorials and articles about React in this week's issue. #321 — September 13, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite

React Digest #320: How to build React portfolio projects that get you a job

Sunday, September 5, 2021

And more news, tutorials and articles about React in this week's issue. #320 — September 06, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite

Design patterns in JavaScript

Sunday, August 29, 2021

And more news, tutorials and articles about React in this week's issue. #319 — August 30, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite your

Creating our own React from scratch

Sunday, August 22, 2021

And more news, tutorials and articles about React in this week's issue. #318 — August 23, 2021 View in browser React Digest Spread the word, build the community, share the knowledge – invite your

You Might Also Like

5 gadgets I never fly without

Friday, May 3, 2024

How to save on internet; BYO AI; Gemini features we need; Prime Day 2024 -- ZDNET ZDNET Tech Today - US May 3, 2024 placeholder I fly 10 times a year. These 5 tech gadgets are lifesavers From recording

⚙️ Microsoft bans the police from using their AI

Friday, May 3, 2024

Plus: The first AI diplomat is here ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Weekend Read: Private and Medical AI 🕵️‍♀️

Friday, May 3, 2024

Don't accidentally train GPT-5 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Microsoft thinks generative AI and faces shouldn’t mix

Friday, May 3, 2024

The company has banned its AI from being used for face recognition View this email online in your browser By Alex Wilhelm Friday, May 3, 2024 Welcome to TechCrunch AM! Today, we have notes on

Issue #539: Discord with Colyseus, parametric surface, and StrikeForce Kitty

Friday, May 3, 2024

Weekly newsletter about HTML5 Game Development. Is this email not displaying correctly? View it in your browser. Issue #539 - May 3rd 2024 If you have anything you want to share with the HTML5 game

Peloton's grim post-pandemic reality

Friday, May 3, 2024

The Morning After It's Friday, May 03, 2024. Peloton had a great pandemic. It's a weird thing to say, but the company's premium exercise equipment (expanding from bikes to treadmills and

Four Critical Vulnerabilities Expose HPE Aruba Devices to RCE Attacks

Friday, May 3, 2024

THN Daily Updates Newsletter cover Enterprise Transformation to AI and the Metaverse ($59.99 Value) FREE for a Limited Time Strategies for the Technology Revolution Download Now Sponsored LATEST NEWS

Post from Syncfusion Blogs on 05/03/2024

Friday, May 3, 2024

New blogs from Syncfusion Create Interactive Floor Planner Diagrams using Blazor Diagram Library By Keerthivasan R This blog explains how to create interactive floor planner diagrams using the

ASP.NET Core News - 05/03/2024

Friday, May 3, 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

Hacker Newsletter #698

Friday, May 3, 2024

There is nothing more uncommon than common sense. //Frank Lloyd Wright hackernewsletter Issue #698 // 2024-05-03 // View in your browser #Favorites Lattice is the AI-powered people platform that