Skip to content

Fix emitting native markers when using TurboModules on iOS #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2022

Conversation

oblador
Copy link
Owner

@oblador oblador commented Apr 14, 2022

With TurboModules the initialisation of modules are lazy, meaning the module may set up the listener after the notification has been emitted. This PR fixes that.

@oblador oblador merged commit 43ebdf8 into master Apr 14, 2022
@oblador oblador deleted the lazy-ios-emitter branch April 14, 2022 14:54
r0h0gg6 pushed a commit to r0h0gg6/react-native-performance that referenced this pull request Jul 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant