This article briefs about middlewares in React and how redux-thunk works.
What is a Middleware?
They get executed with every action we dispatch.
Before we get into middlewares, the basic algorithm of the redux is
Action creators are the ideal place to make the network requests. In the action creators we make the network requests and return action object with network response in the “payload” property.
To begin with, lets…
JS is one of the 3 core technologies in web development.
HTML :: Content.
CSS :: Presentation.
JS :: Dynamic effects/programming logic.
Before we get started, what does PWA means ?
PWA means Progressive Web Apps. It is just a term referring to couple of features we add to our existing web application/web pages to make it more interative and feel like a native application.
We add features and functionality to make our simple web page/application as progressive web app.
What makes a simple application to PWA ?
When we visit a site, a pop up appears to add site as application in home screen of our device.
Why do we need this? It is simple, to increase user interaction and help…