https://github.com/monte9/asphalt
Functional React Native App; to push the boundaries of my RN skills
https://github.com/monte9/asphalt
messaging profile react-native react-navigation
Last synced: 4 months ago
JSON representation
Functional React Native App; to push the boundaries of my RN skills
- Host: GitHub
- URL: https://github.com/monte9/asphalt
- Owner: Monte9
- Created: 2017-02-26T07:06:52.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-10T09:44:52.000Z (over 9 years ago)
- Last Synced: 2025-07-13T15:43:40.922Z (12 months ago)
- Topics: messaging, profile, react-native, react-navigation
- Language: JavaScript
- Size: 697 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Asphalt - Time to hit the road with React Native
### TODO:
- [ ] Write tests using Jest
- [ ] Use MobX for state management
- [ ] Implement React Navigation for navigation across the app
- [ ] Implement full-featured chat functionality
- [ ] Implement social login with Facebook
### React Navigation use cases:
#### Navigate back on button press:
``` js
this.props.navigation.goBack() }
style={{
padding:20,
borderRadius:20,
backgroundColor:'purple',
marginTop:20
}}>
{'Go back a screen this tab'}
```
#### Navigate between tab bars from views:
``` js
this.props.navigation.dispatch({ type:'JUMP_TO_TAB', payload:{index:0} })
}
style={{
padding:20,
borderRadius:20,
backgroundColor:'purple',
marginTop:20
}}>
{'Go back to root tab'}
```