[1] https://github.com/swannodette/om [2] https://github.com/swannodette/om/wiki/Cursors
[1] https://github.com/swannodette/om [2] https://github.com/swannodette/om/wiki/Cursors
The example is a bit contrived, but hopefully you see the problem? Especially consider if there are a couple more layers between App and whatever leaf component is rendering something,
Alternately, you can pass multiple cursors[1] to a component. In your example, you could pass each ArticleItem a cursor pointing to the right article, and a more general cursor pointing to the author store. This would eliminate the hard coding of "authors", but it would require ArticleList to pass along some sort of "additional-data" cursor.
[1] https://github.com/swannodette/om/wiki/Cursors#using-multipl...
https://github.com/wingspan/wingspan-cursor/blob/master/js/C...