Created
September 28, 2018 19:43
-
-
Save suhanlee/17dca661e63675b8dc7db68e92c8f373 to your computer and use it in GitHub Desktop.
react native tips
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 { | |
constructor(props) { | |
super(props); | |
this.state = { | |
isConnected: true, | |
} | |
} | |
state = { | |
isConnected: true | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment