08 2016 档案

摘要:var _ = R; /***************************************** C U R R Y I N G E X A M P L E ******************************************/ // We've got a nice multiply function. // It takes two argumen... 阅读全文
posted @ 2016-08-31 02:47 Zhentiw 阅读(240) 评论(0) 推荐(0) 编辑
摘要:Webpack will hot reload the component, but the reducer we need hard refresh. To sovle the problem, go to the store.js: We just need to config the 'red 阅读全文
posted @ 2016-08-30 16:11 Zhentiw 阅读(214) 评论(0) 推荐(0) 编辑
摘要:In this lesson, we look at one of the most powerful features in GIF Loop Coder, the phase property, which allows you to let different objects run anim 阅读全文
posted @ 2016-08-29 19:54 Zhentiw 阅读(481) 评论(0) 推荐(0) 编辑
摘要:We'll take a look at Single Mode animations and strategies for making this type of animation smoothly loop. There are a number of ways to do this. One 阅读全文
posted @ 2016-08-29 16:14 Zhentiw 阅读(353) 评论(0) 推荐(0) 编辑
摘要:In this lesson we cover setting up WebGL for use, including creating a canvas, getting the WebGL rendering context and clearing the canvas to a partic 阅读全文
posted @ 2016-08-25 03:48 Zhentiw 阅读(209) 评论(0) 推荐(0) 编辑
摘要:If you have props and actions, you want one component to access those props and actions, one solution is pass those from parent to this component. But 阅读全文
posted @ 2016-08-25 03:30 Zhentiw 阅读(299) 评论(0) 推荐(0) 编辑
摘要:We'll learn how to take advantage of Ramda's automatic function currying and data-last argument order to combine a series of pure functions into a lef 阅读全文
posted @ 2016-08-24 04:01 Zhentiw 阅读(549) 评论(0) 推荐(0) 编辑
摘要:Aphrodite is a library styling React components. You get all the benefits of inline styles (encapsulation, no build step, no CSS cascade, building up 阅读全文
posted @ 2016-08-22 17:14 Zhentiw 阅读(188) 评论(0) 推荐(0) 编辑
摘要:Canvas is great for high performance graphics rendering but by default the results look blocky on phones tablets and laptops with high pixel density o 阅读全文
posted @ 2016-08-22 02:22 Zhentiw 阅读(211) 评论(0) 推荐(0) 编辑
摘要:Marble testing is an expressive way to test observables by utilizing marble diagrams. This lesson will walk you through the syntax and features, prepa 阅读全文
posted @ 2016-08-22 00:05 Zhentiw 阅读(808) 评论(0) 推荐(1) 编辑
摘要:A ReplaySubject caches its values and re-emits them to any Observer that subscrubes late to it. Unlike with AsyncSubject, the sequence doesn't need to 阅读全文
posted @ 2016-08-18 17:52 Zhentiw 阅读(373) 评论(0) 推荐(0) 编辑
摘要:To make more composable React components, you can define common APIs for similar component types. 阅读全文
posted @ 2016-08-18 01:36 Zhentiw 阅读(206) 评论(0) 推荐(0) 编辑
摘要:Learn how to use the new Webpack Dashboard from Formidable Labs to display a pretty, useful output for monitoring the status of your webpack builds. T 阅读全文
posted @ 2016-08-17 02:49 Zhentiw 阅读(623) 评论(0) 推荐(0) 编辑
摘要:AsyncSubject emit the last value of a sequence only if the sequence completed. This value is then cached forever, and any other Observer that subscrib 阅读全文
posted @ 2016-08-17 02:24 Zhentiw 阅读(611) 评论(0) 推荐(0) 编辑
摘要:The React component lifecycle will allow you to update your components at runtime. This lesson will explore how to do that. The React component lifecy 阅读全文
posted @ 2016-08-16 03:10 Zhentiw 阅读(162) 评论(0) 推荐(0) 编辑
摘要:The previous lesson introduced the React component lifecycle mounting and unmounting. In this lesson you will learn some simple uses for these hooks. 阅读全文
posted @ 2016-08-16 01:51 Zhentiw 阅读(235) 评论(0) 推荐(0) 编辑
摘要:React components have a lifecycle, and you are able to access specific phases of that lifecycle. This lesson will introduce mounting and unmounting of 阅读全文
posted @ 2016-08-16 01:34 Zhentiw 阅读(201) 评论(0) 推荐(0) 编辑
摘要:A Subject is a type that implements both Observer and Observable types. As an Observer, it can subscribe to Observables, and as an Observable it can p 阅读全文
posted @ 2016-08-15 19:57 Zhentiw 阅读(236) 评论(0) 推荐(0) 编辑
摘要:When you are using React components you need to be able to access specific references to individual components. This is done by defining a ref. Notice 阅读全文
posted @ 2016-08-15 04:14 Zhentiw 阅读(149) 评论(0) 推荐(0) 编辑
摘要:When you're building your React components, you'll probably want to access child properties of the markup. In Angular, it is transcludion: In React, i 阅读全文
posted @ 2016-08-15 03:54 Zhentiw 阅读(144) 评论(0) 推荐(0) 编辑
摘要:The owner-ownee relationship is used to designate a parent-child relationship with React components as it differs from the DOM relationship. 阅读全文
posted @ 2016-08-15 03:42 Zhentiw 阅读(313) 评论(0) 推荐(0) 编辑
摘要:State is used for properties on a component that will change, versus static properties that are passed in. This lesson will introduce you to taking in 阅读全文
posted @ 2016-08-15 03:29 Zhentiw 阅读(154) 评论(0) 推荐(0) 编辑
摘要:JSONP—or JSON with padding—is a sneaky technique that web developers came up with to work around the browser restrictions when requesting data from th 阅读全文
posted @ 2016-08-14 18:54 Zhentiw 阅读(279) 评论(0) 推荐(0) 编辑
摘要:This lesson will teach you the basics of setting properties in your React components. 阅读全文
posted @ 2016-08-14 05:41 Zhentiw 阅读(113) 评论(0) 推荐(0) 编辑
摘要:In this lesson we'll setup a simple build process for converting our ES6 React components into ES5 using Babel and Webpack Install: Create files: Webp 阅读全文
posted @ 2016-08-14 05:18 Zhentiw 阅读(193) 评论(0) 推荐(0) 编辑
摘要:Sometime, we migth just want to return a object which wrap into Observable. You can use 'just' or 'return'. 阅读全文
posted @ 2016-08-13 22:49 Zhentiw 阅读(220) 评论(0) 推荐(0) 编辑
摘要:When use 'require', recommend to add some error check, for example: We add a if() to check whether this is parent controller, if it is then we continu 阅读全文
posted @ 2016-08-13 22:47 Zhentiw 阅读(250) 评论(0) 推荐(0) 编辑
摘要:Most projects have automatically generated files or folders from the operating system, applications, package managers etc. Usually, we don't want to i 阅读全文
posted @ 2016-08-12 03:13 Zhentiw 阅读(223) 评论(0) 推荐(0) 编辑
摘要:You can set up global "git config" settings that apply to all git projects on your system. In this lesson, we review how the ./gitconfig file works. W 阅读全文
posted @ 2016-08-12 03:03 Zhentiw 阅读(245) 评论(0) 推荐(0) 编辑
摘要:Sometimes you find a bug in your project that has been around for a while without being noticed; it can be hard to track down where that bug was intro 阅读全文
posted @ 2016-08-12 02:52 Zhentiw 阅读(184) 评论(0) 推荐(0) 编辑
摘要:Sometimes its nice to clean up commits before merging them into your main code repo; in this lesson, we go over using git rebase to squash commits tog 阅读全文
posted @ 2016-08-12 02:39 Zhentiw 阅读(206) 评论(0) 推荐(0) 编辑
摘要:When working on a file, we often want to know who made certain changes last; we can use git blame to see details about the last modification of each l 阅读全文
posted @ 2016-08-12 02:20 Zhentiw 阅读(225) 评论(0) 推荐(0) 编辑
摘要:It can be helpful to see the changes between two sets of code; git diff lets us do this by comparing two Git references and outputting the differences 阅读全文
posted @ 2016-08-12 02:14 Zhentiw 阅读(331) 评论(0) 推荐(0) 编辑
摘要:In the last lesson, we learned how to format the git log output; in this lesson we will learn how to filter down to a specific set of commits. By defa 阅读全文
posted @ 2016-08-11 04:57 Zhentiw 阅读(243) 评论(0) 推荐(0) 编辑
摘要:When running the git log command, we can pass in options as arguments toformat the data shown for each commit. In this lesson, we show how to use the  阅读全文
posted @ 2016-08-10 18:10 Zhentiw 阅读(184) 评论(0) 推荐(0) 编辑
摘要:When using a git command that can have a large amount of output (like git log, git diff, or git blame), Git opens the command output in our terminal " 阅读全文
posted @ 2016-08-10 03:16 Zhentiw 阅读(253) 评论(0) 推荐(0) 编辑
摘要:When working on a project, it is much easier to work on features and bugs in isolation of the rest of the project. We can do this with git branches; a 阅读全文
posted @ 2016-08-10 02:54 Zhentiw 阅读(182) 评论(0) 推荐(0) 编辑
摘要:Not only can you provide default values when using ES6 parameter object destructuring, but you can also require the presence of certain properties. No 阅读全文
posted @ 2016-08-09 00:50 Zhentiw 阅读(154) 评论(0) 推荐(0) 编辑
摘要:Higher order components will allow you to apply behaviors to multiple React components. So the idea is to create a high order component, then use this 阅读全文
posted @ 2016-08-07 15:24 Zhentiw 阅读(194) 评论(0) 推荐(0) 编辑
摘要:Often buttons need to be handled by JavaScript, and if done improperly it can lead to accessibility issues. In this lesson you will improve a major ne 阅读全文
posted @ 2016-08-05 20:31 Zhentiw 阅读(190) 评论(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) 编辑
摘要:The React team has an official Command Line Interface (CLI) for building React projects called "Create React App"; in this lesson, we show how to use 阅读全文
posted @ 2016-08-02 01:13 Zhentiw 阅读(171) 评论(0) 推荐(0) 编辑
摘要:Nav to Repos component from Dashboard.js: Repos: 阅读全文
posted @ 2016-08-01 16:00 Zhentiw 阅读(195) 评论(0) 推荐(0) 编辑

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