3 ms·
I had a pretty decent working example of coupling the two earlier this year: http://beatmatch.esmevane.com/ http://beatmatch.esmevane.com/ I wired things up u
by esmevane 11y ago
I had a pretty decent working example of coupling the two earlier this year: http://beatmatch.esmevane.com/ http://beatmatch.esmevane.com/
I wired things up using a Flux-like architecture, where the Store would periodically signal a data change and the component would render it, transitions and all. It all worked out pretty much as I expected.
https://github.com/esmevane/beatmatch/blob/master/assets/scripts/components/scatter.coffee https://github.com/esmevane/beatmatch/blob/master/assets/scr...
https://github.com/esmevane/beatmatch/blob/master/assets/scripts/stores/scatter_store.coffee https://github.com/esmevane/beatmatch/blob/master/assets/scr...