These are chat archives for reflux/refluxjs

28th
Dec 2015
Vladyslav
@kopylash
Dec 28 2015 09:43
Hi, can you help me: should there be any logic in reflux store? For instance, we have a list of items and we should sort them by different criteria, the right way to it in store or in component?
Joe
@PenguinMan98
Dec 28 2015 16:44
Usually that kind of operation is handled by your storage solution
ex: Firebase has a query method myDb.query.orderByChild('timestamp');
If you can't get the filtered and sorted results from your storage solution, then yeah, you'll have to code that logic yourself into your store
@kopylash