Three practical use-cases where I leveraged the new React startTransition API to resolve major performance issues. At the time of writing this post, React 18 is still in Alpha. It’s not yet stable and ready for production usage. All of the examples in this post are presented using Codesandbox which has a performance overhead because it runs in development mode.

5m read timeFrom medium.com
Post cover image
Table of contents
Optimizing Performance using React 18 startTransition APIA few words about the React startTransition APIUse case#1 — Searching for PokemonWhy is the search so laggy?What can we do about it?Leveraging concurrent React for our exampleDrum roll please… And the result

Sort: