The following are the Flux concepts that you need to understood before moving ahead:
- Actions: This is the way components interact with API endpoints and update them. In our case, we post new tweets using it. Actions pipe the action to the dispatcher. It might create multiple actions.
- Dispatcher: This dispatches every single event that comes in and sends it across to every single subscriber, which are basically stores.
- Stores: This is an important part of Flux. Components always listen to stores for any changes. Say, if you wrote a new tweet, that's an action, and wherever the tweet is updated in the store, an event is fired and the component is made aware that it has to be updated with the latest data. If you come from the ...