(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| import React, { PureComponent } from 'react'; | |
| import { View, Text, NetInfo, Dimensions, StyleSheet } from 'react-native'; | |
| const { width } = Dimensions.get('window'); | |
| function MiniOfflineSign() { | |
| return ( | |
| <View style={styles.offlineContainer}> | |
| <Text style={styles.offlineText}>No Internet Connection</Text> | |
| </View> |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.