Showing posts with label store.dispatch. Show all posts
Showing posts with label store.dispatch. Show all posts

Friday, August 14, 2020

Actions in Redux

An Action is a plain JavaScript object which has a Type property which defined the type of the actions and an optional payload. Actions are triggers which are used to send information from the application to the store and these are the only way in which the redux store can be modified.

Below is an example of a simple action object.