Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash in the interop layer when components emits events as soon a…
…s are created (#42743) Summary: Pull Request resolved: #42743 When working on Mobile Home, we found a component (RNCSafeAreaView) that was going through the interop layer. The component eits an event as soon as its content view changes, but this is too early: the block that emits the event is still nil at that point in time and that makes the app crash. There might be other components with similarbehavior, therefore, we are fixing it at the interop layer, setting the props immediately after the component is created. ## Changelog: [iOS][Fixed] - Immediately set props of Components that goes through the interop layer Reviewed By: sammy-SC Differential Revision: D53230471 fbshipit-source-id: 90a19e0e87fea381b348b5a7e723ab8b416b828c
- Loading branch information