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
render() { | |
const { showsUserLocation, region } = this.state; | |
const { navigation } = this.props; | |
if (navigation.firstTabBar && navigation.firstTabBar.index === 3) { | |
return this.renderFullMap(showsUserLocation, region); | |
} | |
return this.renderLightMap(showsUserLocation, region); | |
} |
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
import PerfMonitor from 'react-native/Libraries/Performance/RCTRenderingPerf'; | |
// ComponentDidMount | |
PerfMonitor.toggle(); | |
setTimeout(() => { | |
PerfMonitor.start(); | |
setTimeout(() => { | |
PerfMonitor.stop(); | |
}, 20000); | |
}, 5000); |
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
"editor.formatOnSave": true, // THIS WILL TRIGGER PRETTIER ON SAVE | |
"prettier.eslintIntegration": true // THIS WILL MAKE IT COMMUNICATE WITH ESLINT |
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
{"lastUpload":"2017-07-30T17:52:10.156Z","extensionVersion":"v2.8.2"} |
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
“editor.renderWhitespace”: “boundary”, | |
“editor.rulers”: [100], | |
“editor.cursorBlinking”: “solid”` |
NewerOlder