React Concurrent Mode and React Suspense

Поділитися
Вставка
  • Опубліковано 22 лис 2019
  • React Concurrent Mode and React Suspense
    React 16.6 added a Suspense component that lets you “wait” for some code to load and declaratively specify a loading state like a spinner while we’re waiting:
    Suspense for Data Fetching is a new feature that lets you also use Suspense to declaratively “wait” for anything else, including data. This page focuses on the data fetching use case, but it can also wait for images, scripts, or other asynchronous work.
    Concurrent Mode is a set of new features that help React apps stay responsive and gracefully adjust to the user’s device capabilities and network speed.
    These features are still experimental and are subject to change. They are not yet a part of a stable React release, but you can try them in an experimental build.
    #devspot#devspotreactjs#reactsuspense
    Speaker: Dustin Myers
    Event: JSDay Canarias 2019
    Subscribe for more at DevSpot: / @devspot9556
    Publication Permissions: The original video was published under the Creative Commons Attribution license (reuse allowed).
    Original video : • Solving real-life prob...

КОМЕНТАРІ •