5 ms·
https://github.com/ripplejs/ripple/tree/master/docs/composing https://github.com/ripplejs/ripple/tree/master/docs/composin... Yep, you can nest views in a simi
by anthonyshort 12y ago
https://github.com/ripplejs/ripple/tree/master/docs/composing https://github.com/ripplejs/ripple/tree/master/docs/composin...
Yep, you can nest views in a similar way to React. It's not exactly the same, but it's similar. Data is kept in sync and components are re-usable.
Communication between views is either through events, passing in callbacks, the dispatch plugin (uses custom DOM events and bubbling like Flight). There are a few ways to do it depending on the problem. Views have references to their children and the owner too.