Posts under react
How to close a modal in React when clicked outside
Abhishek EH | Nov 2, 2022 | 13 Min Read
Tutorial on how to create a Modal in React and close it when clicked outside
Read More
Programmatically Navigate Using React Router
Abhishek EH | Oct 18, 2022 | 2 Min Read
Tutorial on how to programmatically navigate in React using React Router
Read More
React Router: Get the current route
Abhishek EH | Sep 29, 2022 | 4 Min Read
Tutorial on how to access the current route, URL parameters and query parameters in React Router
Read More
React + Axios POST request example
Abhishek EH | Apr 1, 2023 | 2 Min Read
Tutorial on how to make a post request in React using Axios
Read More
How to solve Infinity loop in React's useEffect
Abhishek EH | Apr 1, 2023 | 5 Min Read
Tutorial on how to fix infinite loop in useEffect using dependency array, useMemo, and useCallback.
Read More
How to delete an item from the state array in React?
Abhishek EH | Apr 1, 2023 | 3 Min Read
Tutorial on how to delete an item from the state array in React, using both index and value. Also discussed deleting items from an array of objects.
Read More