Skip to content

Commit 31e9b05

Browse files
committed
Update LinksActions.js
1 parent 472723a commit 31e9b05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/app/actions/LinksActions.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
import * as Reflux from 'reflux';
22

3+
4+
// Each action is like an event channel for one specific event. Actions are called by components.
5+
// The store is listening to all actions, and the components in turn are listening to the store.
6+
// Thus the flow is: User interaction -> component calls action -> store reacts and triggers -> components update
37
const LinksActions = Reflux.createActions([
48
'loadData',
59
'loadDataSuccess'

0 commit comments

Comments
 (0)