This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
1
Question about Flux Dispatcher
Post Body
So I am writing a flux app and I'm finding pain with the dispatcher sending every action to the store(s) and then the stores looking at the action type then acting. I'm thinking it would be better if the Dispatcher were a simple Event Emitter, and the store could subscribe to the events it cares about in a clean way. I don't understand how this would be any different than subscribing to all events, then inspecting the type to take action.
What is the advantage of the dispatcher approach?
Author
User Disabled
Account Strength
0%
Disabled 9 months ago
Account Age
10 years
Verified Email
Yes
Verified Flair
No
Total Karma
2,982
Link Karma
2,169
Comment Karma
813
Profile updated: 1 week ago
Posts updated: 10 months ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 9 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/reactjs/com...