Flux architecture in a KnockoutJS project

141 views
Skip to first unread message

Catalin

unread,
Jun 19, 2015, 11:04:39 AM6/19/15
to knock...@googlegroups.com
The Flux architecture looks really good and I would like to use it in my next project.

The problem that I see right now is.....for every Store-Changed event that I get, I need to update every Component ViewModel that is using that store.

Let say store we have these 2 stores

Store Users(500 users)
Store messages(5000 messages)

And a viewModel called Top5UserMessages of a given user. 

Those 2 stores can trigger a lot of events. How can I handle keeping my ViewModel up to date, efficiently?







Reply all
Reply to author
Forward
0 new messages