Actions are the most crucial pieces of Redux; they are responsible for triggering state updates in our Redux Store. In this recipe, we are going to display the top 100 cryptocurrencies listed on http://www.coinmarketcap.com using their public API.
Making action creators and dispatching actions
Getting ready
For this recipe, we need to install Axios (a promise-based HTTP client for the browser and Node.js) and Redux Thunk (a thunk is a function that wraps an expression to delay its evaluation):
npm install axios redux-thunk
How to do it...
We are going to use the same...