Redux is an open-source js library for handling web application state. This library can be used in different web app frameworks such as React and Angular. The following outlines how to use redux in react web applications.

How to install

There are two ways for adding redux to your project in case you want to initialize a new react app, or add redux to your current react app.

In case you want to create a react app using redux, easily write the following command:

npx create-react-app my-app --template redux

Otherwise, if you prefer to code by TypeScript you can run the below command:

Redux-Saga is a middleware library which is handling async tasks with side effects, such as API. Also, we are able to read the state and call actions on Saga. It uses generator functions in order to do async tasks.

The following outlines why we use Saga and how to install it. Then, it is discussed useful Saga methods for handling API.

Why we are using the Redux-Saga?

The main duty of the Saga is to handle the API calls and update the state based on the response of endpoints! One of the main advantages of redux-saga is being test-friendly.

Before working with Redux-Saga, you should be…

We should first describe a web developer and how they do it.

Who is a Web Developer?

A web developer is someone who takes a web design — which has been created by either a designer or a design team — and turns it into a website. They do this by writing lines and lines of complicated code, using a variety of languages.

What are Types Of Web Developers?

  1. Front-End Developer
  2. Back-End Developer
  3. Full-Stack Developer

briefly, Front-end web developers use six primary coding languages to code the website and web app designs created by web designers:

  1. HTML 5(HyperText Markup Language )
  2. CSS 3 (Cascading Style Sheets )
  3. Javascript
  4. Focus on one…

Zahra Teymouri

Web Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store