EVENT HANDLING
First source file you should be reading when trying to understand React Event System is ReactBrowserEventEmitter.js.
ReactEventListener
First the event is captured at the top-level ReactEventListener
.
- in the main thread
API
EVENT HANDLING
First source file you should be reading when trying to understand React Event System is ReactBrowserEventEmitter.js.
ReactEventListener
First the event is captured at the top-level ReactEventListener
.
API
Note: This is a submission for a Reactive2015 lightning talk. If you'd like to see a lightning talk about this (or read a detailed blog post if you are not going for the conference), vote for it by starring this gist! Thanks a lot!
Performance is one of the reasons why React.js is so popular for building complex, highly interactive web applications. It became the go-to library for developers who don’t like to make compromises for technical reasons when building awesome user experiences. However even with React.js it still can be easy to hit it’s performance limits.
In this lightning talk Daniel will go beyond the basics of shouldComponentUpdate and immutable data structures and will discuss how to correctly instrument, measure and optimize performance in complex React apps. He will help you understand the overhead of different parts of the React component lifecycle, how some of it’