How we broke React and understood Fiber!
Starts with a story of what we were trying to do with React in Microsoft.
The issue which was filed and Dan acknowledging it after some explanation.
This led to digging deeper in React and thus, Fiber.
Let’s see what is Fiber and how it is the biggest change since React(sorry Hooks but you are about writing code, THIS IS performance!)
What’s the idea of Fiber: the idea of one unit of work
How requestIdleCallback made all of this possible?
What happens if your browser doesn’t support requestIdleCallback?
Demo time: This simplifies the code logic to make the attendees understand and appreciate the ingenuity of React team.
Walk through of the demo code.
Also, this performance hack can be used by any of us, once it hits you, aha!
Closing remarks on Fiber.
The changes and challenges beyond the simplified demo which are there in React’s source code.
Tanay Pratap lives in Bangalore and works @Microsoft, he is building Teams which is touted as the next generation collaboration tool. He believes in sharing tech via story and thinks he has a gift to make tech easier to understand. This thought of his has been reinforced by reviews of students, professionals, attendees in his numerous talks/workshops/meetups.