An action is a payload of information that sends data to the store; this is the only way views can request or send data to the global state.
In this recipe, we will create the actions to load the initial bookmarks. For now, we will define hardcoded data, but later on, we will request this data from an API on Heroku.
We will continue working on the code from the previous recipe. Make sure to follow those steps in order to have Redux installed, as well as the folder structure that we will use for this project.
src/redux/modules/bookmarks/actions.jsfile. In this case, it's going to be a constant that we are going to use later, in the action ...