随笔分类 -  React Native

摘要:Create a new application with Typescript: Then: Run: 阅读全文
posted @ 2019-08-04 20:58 Zhentiw 阅读(160) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。
posted @ 2019-07-11 04:03 Zhentiw 阅读(3) 评论(0) 推荐(0) 编辑
摘要:When you bring up the on screen keyboard in a mobile app, it will cover any text input or buttons on the bottom half of the screen, which can be frust 阅读全文
posted @ 2018-07-29 02:42 Zhentiw 阅读(411) 评论(0) 推荐(0) 编辑
摘要:By default, React Native only targets iPhone - so if you run on an iPad, it will show up as a scaled app, and won't look like a native iPad app. To ta 阅读全文
posted @ 2018-05-03 20:44 Zhentiw 阅读(317) 评论(0) 推荐(0) 编辑
摘要:In large React Native projects, it’s common to have long relative import paths like: With import paths that go up and down the folder hierarchy like t 阅读全文
posted @ 2018-04-24 15:38 Zhentiw 阅读(256) 评论(0) 推荐(0) 编辑
摘要:In this lesson you will learn how create a re-usable component that gives the user the ability to dismiss the keyboard whenever they tap outside of a 阅读全文
posted @ 2018-01-15 00:55 Zhentiw 阅读(468) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2018-01-12 02:43 Zhentiw 阅读(350) 评论(0) 推荐(0) 编辑
摘要:In this lesson we will use Animated.spring and TouchableWithoutFeedback to animate the scale of a button in our React Native application. We will use 阅读全文
posted @ 2017-11-06 20:38 Zhentiw 阅读(581) 评论(0) 推荐(0) 编辑
摘要:Yellow box warnings in react native can be intrusive. We will use console.disableYellowBox to disable the yellow box entirely. We'll also use console. 阅读全文
posted @ 2017-06-05 15:02 Zhentiw 阅读(702) 评论(0) 推荐(0) 编辑
摘要:Learn to install JavaScript modules that include native code. Some React Native modules include native code for Android and/or iOS in addition to Java 阅读全文
posted @ 2017-02-16 02:28 Zhentiw 阅读(244) 评论(0) 推荐(0) 编辑
摘要:Learn to write components that render differently on iOS and Android, but present the same API. First, we'll use the Platform module to change behavio 阅读全文
posted @ 2017-02-15 02:15 Zhentiw 阅读(259) 评论(0) 推荐(0) 编辑
摘要:In this lesson we will use Animated.timing to animate the opacity and height of a View in our React Native application. This function has attributes t 阅读全文
posted @ 2016-12-18 21:35 Zhentiw 阅读(614) 评论(0) 推荐(0) 编辑
摘要:In this final React Native lesson of the series we will finalize the Notes view component and squash a few bugs in the code. 阅读全文
posted @ 2016-08-05 04:43 Zhentiw 阅读(230) 评论(0) 推荐(0) 编辑
摘要:Install: Config Firebase: First we need to require Firebase: Then in the component constructor, we need to init Firebase: The config you can easily ge 阅读全文
posted @ 2016-08-04 01:52 Zhentiw 阅读(1105) 评论(0) 推荐(0) 编辑
摘要: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 Gi 阅读全文
posted @ 2016-08-03 01:52 Zhentiw 阅读(256) 评论(0) 推荐(0) 编辑
摘要:Nav to Repos component from Dashboard.js: Repos: 阅读全文
posted @ 2016-08-01 16:00 Zhentiw 阅读(195) 评论(0) 推荐(0) 编辑
摘要:In this lesson we'll create a reusable React Native separator component which manages it's own styles. In this lesson we'll create a reusable React Na 阅读全文
posted @ 2016-07-28 03:00 Zhentiw 阅读(234) 评论(0) 推荐(0) 编辑
摘要:To show a list of unchanging data in React Native you can use the scroll view component. In this lesson, we'll map through the data we got back from t 阅读全文
posted @ 2016-07-28 02:53 Zhentiw 阅读(431) 评论(0) 推荐(0) 编辑
摘要:In this React Native lesson, we will be creating a reusable Badge component. The component will also make use of propTypes to validate that its requir 阅读全文
posted @ 2016-07-28 02:18 Zhentiw 阅读(323) 评论(0) 推荐(0) 编辑
摘要: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. W 阅读全文
posted @ 2016-07-28 02:16 Zhentiw 阅读(260) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示