paint-brush
Magic of React Suspense with concurrent react and React.lazy APIby@vivek-nayyar
42,104 reads
42,104 reads

Magic of React Suspense with concurrent react and React.lazy API

by Vivek Nayyar6mJanuary 15th, 2019
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

React Suspense is a way to ensure that updates like user input don’t get blocked by rendering low-priority updates. Suspense in simple words means we can suspend the rendering of our component or components until some condition is met and until then show a fallback(for example a spinner) Dan Abramov in his talk “Beyond React 16” at JSConf Iceland 2018 said: “We’ve built a generic way to. ensure that high-priority. updates like. user input. Don’s not blocked by. rendering low. priority updates. Some of the new features coming to React, some of which have been released as part of the latest stable release and some of them are still in unstable.

People Mentioned

Mention Thumbnail

Companies Mentioned

Mention Thumbnail
Mention Thumbnail
featured image - Magic of React Suspense with concurrent react and React.lazy API
Vivek Nayyar HackerNoon profile picture
Vivek Nayyar

Vivek Nayyar

@vivek-nayyar

👋 Senior Software Engineer with 5 years' of experience building products for numerous domains.

Learn More
LEARN MORE ABOUT @VIVEK-NAYYAR'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Vivek Nayyar HackerNoon profile picture
Vivek Nayyar@vivek-nayyar
👋 Senior Software Engineer with 5 years' of experience building products for numerous domains.

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite