mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
3b0800a49a
Summary: When EventTarget is created in createNode, it's currently treated as optional in native, but it's not optional in JS. We should assert that it's non-null to make the contract more clear. For now, we keep it as an assert so we catch issues in debug/dev, but it won't impact prod. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D27002506 fbshipit-source-id: c541dc02d3de22df19292deaef1a3b68fe57ba1f