We already know, ""if some task takes time, promisify it!"". But some tasks can be computation heavy and can take time to complete, so making them async is of no use since those have to be anyway get picked. Solution? Simple, multithreading! Yeah I know that React and in turn javascript is single-threaded but what if I told you that our life was a lie ever since? Enter web workers! Key takeaways of the talk: 1. An example of a simple product search showing why async js or concurrent mode cannot work. 2. Demystifying web workers. 3. How they make this magic happen under the hood? 4. The Question of life - Aren't they same as concurrent mode? 5. Comparing the same Product list app using web workers, diving deep into the performance. 6. How one can easily misuse web workers and how to avoid it.
Check out more articles and videos
We constantly think of articles and videos that might spark Git people interest / skill us up or help building a stellar career

33 min
Building Better Websites with Remix

27 min
(Easier) Interactive Data Visualization in React

20 min
Routing in React 18 and Beyond

25 min
A Guide to React Rendering Behavior

30 min
Using useEffect Effectively

21 min
The Future of Performance Tooling
Workshops on related topic

132 min
Concurrent Rendering Adventures in React 18
Free Workshop

177 min
React Hooks Tips Only the Pros Know
Workshop

174 min
React, TypeScript, and TDD
Free Workshop

145 min
Web3 Workshop - Building Your First Dapp
Free Workshop

96 min
Rethinking Server State with React Query
Workshop

125 min
Getting Started with Suspense and Concurrent Rendering in React
Workshop
Upcoming events