Last active
March 27, 2019 14:45
-
-
Save isacjunior/70177e032f25687c7db5a14435e0bd42 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// componentDidMount com hooks | |
import React, { useEffect } from 'react' | |
function DidMount() { | |
useEffect(() => console.log('Eu estou montado'), []) | |
return <>content</> | |
} | |
export default DidMount |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment