摘要:
Polyfill is something you don't need to set up traceur but start to use es6 in today's browser.You can search for polyfill which you want to use on Go... 阅读全文
摘要:
direictives/index.js:module.exports = function(ngModule) { //register all the directives here require('./hello')(ngModule);};directives/hello.js... 阅读全文
摘要:
It is best to start your application's localization effortsearlyin development, even if you only support one language initially. Libraries like angula... 阅读全文
摘要:
Mixins will allow you to apply behaviors to multiple React components.Components are the best way to reuse code in React, but sometimes very different... 阅读全文
摘要:
The React component lifecycle will allow you to update your components at runtime. This lesson will explore how to do that.Updating: componentWillRece... 阅读全文
摘要:
The previous lesson introduced the React component lifecycle mounting and unmounting. In this lesson you will learn some simple uses for these hooks. ... 阅读全文
摘要:
React components have a lifecycle, and you are able to access specific phases of that lifecycle. This lesson will introduce mounting and unmounting of... 阅读全文
摘要:
thetransferPropsTomethod lets you easily push properties into your components to easily customize attributes.From last two exmaples, we have BButton a... 阅读全文
摘要:
To get the add-ons, usereact-with-addons.js(and its minified counterpart) rather than the commonreact.js.https://facebook.github.io/react/docs/addons.... 阅读全文