dillon1000/react
Commit
Browse files Ignore events on text nodes (#9000)
In React Native events can fire on text nodes (on Android at least). In that case, the current element will be a string and not props. These can not have event handlers on them so we need to bail out so that we don't throw later on.
Changed paths1 file
First-parent comparisonsrc/renderers/shared/shared/event/EventPluginHub.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…