Posts under react
setInterval in React Components Using Hooks
Abhishek EH | Apr 29, 2022 | 2 Min Read
Tutorial on how to call setInterval in React, how to clean up the interval. Also, discusses about updating a state at regular intervals.
Read More
How to set timeout in React
Abhishek EH | Apr 23, 2022 | 2 Min Read
Tutorial on how to call setTimeout in React, how to clean up the time out. Also, discusses about setting a state inside the setTimeout.
Read More
How to add fonts to React app
Abhishek EH | Apr 15, 2022 | 4 Min Read
Tutorial on how to add fonts to your react app. Discusses about including both local and remote font files.
Read More
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