Skip to content

Posts under react

How to make API calls in React using Axios
How to make API calls in React using Axios
Abhishek EH | Mar 15, 2022 | 14 Min Read
Guide on how to make API calls in React using Axios. Discusses about different HTTP methods, GET, POST, PUT, and DELETE. Also, how to show handle errors
Read More
Cancelling previous requests in Search bar using Fetch
Cancelling previous requests in Search bar using Fetch
Abhishek EH | Mar 6, 2022 | 4 Min Read
Tutorial on how to cancel previous requests in in a search bar using fetch in JavaScript and React.
Read More
How to build To-do list in React
How to build To-do list in React
Abhishek EH | Feb 15, 2022 | 10 Min Read
Step by step guide on how to build a to-do list in React. How to mark the task as done and how to delete a task. Also, retrieve the stored tasks from local storage.
Read More
How to refresh a page or a component in React
How to refresh a page or a component in React
Abhishek EH | Feb 5, 2022 | 2 Min Read
Tutorial how to hard refresh a page in React when a button is clicked and how to soft refresh the page when the component state is updated.
Read More
How to store and update objects in React useState hook
How to store and update objects in React useState hook
Abhishek EH | Feb 5, 2022 | 3 Min Read
Guide on how to store and modify objects in useState hook without mutating other object properties.
Read More
How to fix - this.setState is not a function error in React
How to fix - this.setState is not a function error in React
Abhishek EH | Jan 21, 2022 | 3 Min Read
Guide on why this.setState is not a function error or Cannot read properties of undefined (reading 'setState') occurs and explanation on how to fix the error in 2 different ways.
Read More
© 2022 CodingDeft.Com