DEV Community

Discussion on: Implement your own custom hook in React with typescript

 
atbrakhi profile image
Rakhi

If you want to check, if a component is rendering or not rendering, you can use console.count() in the component/hook file and check the results in console.