Created
May 7, 2018 19:14
-
-
Save claudiojunior-me/6cd7d0d18b0563b748dda1bef2700664 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
class App extends Component { | |
componentWillReceiveProps(props) { | |
this.setState({ title: `App ${props.title}`}); | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment