Lazy Loading Components and Data with React’s Suspense

Опубликовано: 10 Октябрь 2024
на канале: Bitovi
2,762
21

React’s new Suspense component provides an easy way to lazy-load components (with React.lazy) and fallback loading notifications. These same techniques can even be applied to simplify data-fetching.

In this talk, Christopher Baker explains how to leverage these new APIs to reduce your application’s load time and improve your application’s visual performance.

Slides: https://christopherjbaker.github.io/r...

CodeSandbox Demo: https://codesandbox.io/s/loving-moser...

Official `Suspense` docs: https://reactjs.org/docs/react-api.ht...

Official `React.lazy` docs: https://reactjs.org/docs/react-api.ht...

Bitovi React Talks:    • React  

Bitovi React Consulting: https://www.bitovi.com/frontend-javas...

Join our Slack! https://bitovi.com/community/slack?ut...