React — 5 things that might surprise you

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

#310 — June 28, 2021 View in browser

React Digest

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

sponsor

The Ultimate Guide to Building a UI Component Library—Establishing a Development Environment

Let’s walk through the steps you can take to set up a development environment that enables you to develop a component library. In this blog, you will also learn how to have a built npm package ready to distribute to other developers at your company. Check it out!

this week's favorite

React — 5 things that might surprise you

The React library is pretty straightforward and is relatively easy to get into, especially with the wide variety of materials that exist to help you learn it. But every tool has its share of tricks or issues that these tutorials usually don’t cover. You get to learn them when someone reviews your code, or worse — when you’re facing a problem and are desperate to find a solution. Hopefully, with this article, I might reveal some of these things about React, and maybe even surprise you!

A guide to behaviour testing in React with Enzyme and Jest

Writing proper behaviour tests in React with Enzyme and Jest is not a trivial task. I have spent three years on this topic and in this article, I will share my learnings and guidelines to how you can get more useful, reliable, and meaningful behaviour tests for your React code if you are only allowed to use Enzyme.

Demystifying styled-components

Somehow, using an obscure half-string-half-function syntax, the tool was able to take some arbitrary CSS and assign it to a React component, bypassing the CSS selectors we've always used.

React Futures - Server Components

If you are familiar with React, you know that it is a client-side library that provides developers with a set of abstractions on top of JavaScript that quickly and efficiently write the user interface to a web application. A client-side library means rendering the view in the DOM is done on the client’s browser using JavaScript. The server, in this case, is only responsible for delivering the bundles of your application containing HTML, CSS, and JavaScript and doesn’t perform any rendering.

A better React 18 startTransition demo

Further testing showed that every render takes less than 1ms. startTransition and time slicing didn't even have time to kick in.

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.

Older messages

Think of React components as state machines, not functions

Sunday, June 20, 2021

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

How to build an image comparison slider

Sunday, June 13, 2021

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

Dynamic vs static routing in React

Sunday, June 6, 2021

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

A complete beginner's guide to Next.js

Sunday, May 30, 2021

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

How to efficiently reuse stories in your React tests

Sunday, May 23, 2021

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

You Might Also Like

Daily Coding Problem: Problem #1619 [Hard]

Monday, November 25, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given two non-empty binary trees s and t , check whether tree t has exactly the

Unpacking “Craft” in the Software Interface & The Five Pillars of Creative Flow

Monday, November 25, 2024

Systems Over Substance, Anytype's autumn updates, Ghost's progress with its ActivityPub integration, and a lot more in this week's issue of Creativerly. Creativerly Unpacking “Craft” in the

What Investors Want From AI Startups in 2025

Monday, November 25, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 25, 2024? The HackerNoon

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