Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> single store sounds great from the conceptual point of view, but I'm not sure about the performance one

But the Redux "single store" is actually a composition of multiple stores, each with its own reducer function. Performance-wise, it's actually better than vanilla Flux, because, when an action causes N stores to change with vanilla Flux, you can get up to N renders of your components (depending on how many stores they subscribe to). At least, with Redux there is only one render when the whole store has been updated.



When I was looking around and comparing I think most allowed for some form of aggregation and syncing them into one call. Not sure though. Still learning.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: