ReactJS

How to perform automatic redirect after login in React Router?

The react-router package provides <Redirect> component in React Router. Rendering a <Redirect> will navigate to a new location.

September 24, 2022

ReactJS
2885
What is Jest?

September 15, 2022

ReactJS
327
Give a simple example of Jest test case

In the article we will write the simplest possible unit test using Jest, an all-in-one mocking and testing framework.

September 13, 2022

ReactJS
579
What is Redux?

September 12, 2022

ReactJS
452
How to Access the Redux Store Outside a React Component?

In this article, we'll explain how to use the store.getState() method to access the Redux store from any part of your app.

September 06, 2022

ReactJS
17647