Closed daniel-chambers closed 7 years ago
It seems some React components will send null as the event object (for example, react-select), and Pux will crash on these.
null
This PR simply adds a truthiness test to make sure the event object is not null or undefined before trying to access nativeEvent.
nativeEvent
Thank you!
It seems some React components will send
null
as the event object (for example, react-select), and Pux will crash on these.This PR simply adds a truthiness test to make sure the event object is not null or undefined before trying to access
nativeEvent
.