Firstly, I use create-react-app to create my project files. But then I’ll delete everything in src folder and start from scratch to get the things I want to have in it. In preparation for some packages I’ll need later on, I “yarn add” (same as “npm install”, using yarn the following packages: redux, redux-promise, react-redux, and […]
ES2107 has new methods for handling promises: async & await. Due to the asynchronous nature of Javascript, when I call an api, it will likely return the api data last, even if it is called at the beginning of the code. I’m taking this example from Colt Steele’s Advanced JS Bootcamp on Udemy. Return one movie from OMDB […]