Has anyone used EventEmitter in a react native?

Share on facebook
Share on google
Share on twitter
Share on linkedin
organic-n-local-seo

https://www.reddit.com/r/reactnative/comments/elqdz2/has_anyone_used_eventemitter_in_a_react_native/

I am looking for something that provides the ability to emit, listen to events throughout my component tree?
I want to emit an event from component A and then in component B (that somewhere in the tree), I want to listen to that and toggle a flag.

submitted by /u/mukeshsharma1201
[link] [comments]

Sign up for our Newsletter

Agree to our privacy policy.