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
// NOTE - this will only run with Babel preset Stage-0 (experimental features) | |
// Arrow functions as methods is still an experimental Babel feature | |
// EXAMPLE 1 - Using bind and multiple update functions | |
class Parent { | |
constructor() { | |
this.state = { | |
name: 'No name yet', | |
email: 'No email yet' | |
} |
This is for my personal use, things might not be correctly explained here. For the official docs please check https://github.com/airbnb/react-native-maps
Steps from scratch:
1.react-native init GoogleMapPlayground
2. cd GoogleMapPlayground