#js
Read more stories on Hashnode
Articles with this tag
installation npm install react-redux in Index file you should import "Provider" and wrapp the app component, then we pass the store as props: import...
what is React Query? it is a data-fetching and state management library for React applications that simplifies fetching, caching, and updating...
//Returned as an array return ['a','b','c'] // Returned as an object return { 1:'a' , 2:'b' , 3:'c'} // This is as Map...
We Have 3 methods To wrap the elements. 1- wrapping it inside an HTML element like div, section ...... Example: import React from "react"; const App...
If we wanna change a state value using action in React we can't change it directly by using (push) const ADD_PRODUCT= "ADD_PRODUCT"; const...