-
-
Save Eliav2/0df546f3ab307f5df755e2067715b229 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Basic = () => { | |
const log = useLog(); | |
useEffect(() => { | |
log('finished render'); | |
}); | |
return <div/>; | |
}; | |
/** | |
* expected logs: | |
* finished render {call:1,render:1}() | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment