Posts under react
How to fix Argument of type 'HTMLElement | null' is not assignable to parameter of type 'Element | DocumentFragment'.
Abhishek EH | Apr 15, 2022 | 2 Min Read
Tutorial on how to fix the error Argument of type 'HTMLElement | null' is not assignable to parameter of type 'Element | DocumentFragment'.
Read More
How to fix ReactDOM.render is no longer supported in React 18
Abhishek EH | Apr 5, 2022 | 2 Min Read
Tutorial on how to fix the error ReactDOM.render is no longer supported in React 18 when you upgrade react version.
Read More
How to include local and remote images in React
Abhishek EH | Mar 19, 2022 | 3 Min Read
Tutorial on how to import a local image to a react component and include it. Also, discusses about how to include remote images and images as a background.
Read More
React Axios example - Get/Post/Put/Delete with Rest API
Abhishek EH | Oct 30, 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
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