-
Notifications
You must be signed in to change notification settings - Fork 3
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
Active development? #4
Comments
Seems to be some good advice here: http://andrewhfarmer.com/component-communication/#6-observer-pattern -- for anyone with the same question I have. |
Hi @Sigfried . I'm actually using it on https://timerepublik.com but we (+ @cef62 ) are not actively developing it (also 'coz I don't need any more customisations). You can try it (it's been intensively tested by Matteo), and if you want you can contribute to it. |
Thanks, @stecb ! It turned out super easy for what I wanted to do by using EventEmitter. A two-line module (https://github.com/Sigfried/drugutil/blob/master/src/EventEmitter.js) that I import from whatever modules I want to publish or subscribe from. The emitter object is accessible anywhere like a global variable, but I didn't need to make an actual global variable or pass things all over or use react context (which seems scary). Thanks so much, though! |
Hi. This looks like exactly what I need, but it doesn't seem to be widely used or to be under active development. Do you recommend using it or is there another library that might be a better bet? Thanks!
The text was updated successfully, but these errors were encountered: