Skip to content

Instantly share code, notes, and snippets.

@NaveenDA
Created October 17, 2020 18:09
Show Gist options
  • Save NaveenDA/0b134ab134dde91a1590299e0d57684d to your computer and use it in GitHub Desktop.
Save NaveenDA/0b134ab134dde91a1590299e0d57684d to your computer and use it in GitHub Desktop.
import React, { useEffect } from "react";
const SimpleComponent = () => {
useEffect(() => {
console.count("Component Rendered ");
}, []);
return <div></div>;
};
export default SimpleComponent;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment