Magic of React Suspense with concurrent react and React.lazy APIby@vivek-nayyar
41,935 reads

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

tldt arrow
Read on Terminal Reader

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

Learn More
LEARN MORE ABOUT @VIVEK-NAYYAR'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart
Vivek Nayyar HackerNoon profile picture
by Vivek Nayyar @vivek-nayyar.👋 Senior Software Engineer with 5 years' of experience building products for numerous domains.
Read My Stories

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa