react-native/Libraries/Renderer
Sebastian Markbage fd4ad6ca82 Ignore event listeners on unmounted components
Summary:
When a touch responder gets unmounted, it can still get events dispatched to it.

We used to ignore those errors but in the new model we read the props instead of the event listener bank. The props still exist after unmount.

Instead, I check that the rootNodeID is still set since this gets reset during unmount.

Reviewed By: spicyj, bvaughn

Differential Revision: D4597127

fbshipit-source-id: b405e4ef1bcb14970be76d9ab7203cebf1f4d6c9
2017-02-22 12:30:09 -08:00
..
src Ignore event listeners on unmounted components 2017-02-22 12:30:09 -08:00
README.md RN: Update React (2/2) 2016-11-04 05:43:44 -07:00

README.md

React Native Renderer

This is a downstream copy of React's renderer code to render into React Native. The source of truth is the React repo. Please submit any changes upstream to the React Core GitHub repository.