We can access web pages in our React Native application using the WebView component. We will connect the links in our repository component to their Github web page when a user click on them. Navigate to WebView component: openPage(url){ this.props.na…
Let's take a look at the basics of using React Native's Image component, as well as adding some reusable styling to our Dashboard component buttons. We are going to build Dashboard Component, it will looks like this: Basicly have one image component…
先看两段代码: export class ywg extends PureComponent { …… render() { return ( …… ); } } export class ywg extends Component { …… render() { return ( …… ); } } PureComponent VS Component Stateless components may also be referred to as Pure Components, or eve…
In this lesson, you will learn how to use the SafeAreaView component to avoid the sensor cluster (the notch) and home activity indicator on the iPhone X. SafeAreaView is similar to the View, just for iphone X, the screen is different from previous ve…