DEV Community

Cover image for React Suspense w/ concurrent mode is not for everybody (yet)
Joel Hooks 🌩 for egghead.io

Posted on

React Suspense w/ concurrent mode is not for everybody (yet)

The way we write web applications is changing.

React is at the forefront of many of the changes.

The React team takes great care in testing, communicating, and delivering these changes to us incrementally over time.

They aren't sensationalist or prone to excessive enthusiasm.

They are a small and talented team, mostly heads down working on a UI framework that Facebook's 2.3 BILLION monthly active users rely on to browse their feeds and communicate with friends, family, clubs, businesses, fans, and any other human also on Facebook.

Not to mention the rest of us that benefit from React as an open-source project.

Hopefully, we can all appreciate that challenge of scale, and at egghead, we have a lot of respect for the work they are doing.

As happy React developers ourselves, we are grateful. 🙏

Recently the React team has been showing us how Suspense and concurrent mode will work in our production applications. The experimental implementations are accessible through and experimental build of React.

In the docs introducing concurrent mode, you'll find a bright red warning to tread carefully into the deep waters ahead:

On Twitter, they've warned us repeatedly that under no circumstances should you use concurrent mode in a production app. If you are new to React, you don't even need to worry about concurrent mode at all.

It's extremely good advice that I will most certainly follow.

Here's who might consider learning more about concurrent mode with Suspense in React is for right now:

  • library authors - the primary target of these APIs that will eventually provide abstractions on top of the low-level core building blocks of Suspense and concurrent mode that will blow our minds
  • early adopters - folks that ride the bleeding edge and want to understand what's coming on the horizon, decision-makers, and senior-level developers evaluating tools with a long-term strategy in mind
  • curious developers - folks that think this stuff is fun and love to tinker and aren't exactly happy with just using tools as "black boxes" with little understanding of what's going on under the hood.
  • you, probably - here's the thing, watching this excellent course I'm about to tell you about will just give you some insight into a cool new way to think about React and web application development in general. It's fine 😂

Are you a responsible developer that won't unleash the kraken 🦑 on unsuspecting production users and clients?

Can we trust you with this knowledge about Suspense w/ concurrent mode in React??! 🤠

Then this course from Michael Chan is going to be a real treat!

As host of The React Podcast, Michael has been keeping an eye on Suspense w/ concurrent mode for a long time.

In this new egghead course, Michael guides you through building a full app with Suspense w/ concurrent mode, Hooks, and Context.

Like Hooks and Context, Suspense w/ concurrent mode is changing the way we approach building with web applications with React.

Tread carefully. React responsibly.

This is a good course!

-> Click here to Build an App with React Suspense (this course is requires a membership to watch completely, but the first couple of lessons are unlocked and free to watch)

Top comments (0)