bilus / om-event-bus Goto Github PK
View Code? Open in Web Editor NEWSimple event handling for om components.
License: Eclipse Public License 1.0
Simple event handling for om components.
License: Eclipse Public License 1.0
Hi,
These days we are using om-event-bus in our project and it works quite well. But when I was re-evaluating our project, I found if we give a core.async/chan in :shared field of om's function root, all the children node are able to get it simply by get-shared. What it needs is just owner.
So it's quite easy and simple to put value in this channel in the children nodes and get them out of the root element. That is almost same behavior with when om-event-bus doing bubbling. And the same to trickling. The only thing that om's :shared functionality cannot do is maybe the xform thing, It may be a little bit harder. I haven't think about it. Otherwise, from the user story, I didn't find any advantage to use om-event-up than just channel in :shared.
Forgive my english and maybe I didn't deeply understand the requirements or other functionalities, can you explain?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.