摘要:
Learn how to build a reasonable approximation of the Redux Store in 20 lines. No magic!const counter = (state = 0, action) => { switch (action.type) ... 阅读全文
摘要:
Single immutable state tree: Should be just one single javascript object.Describing the changes by action: every change in the application state as ... 阅读全文
摘要:
Recursion is a technique well suited to certain types of tasks. In this first lesson we’ll look at solving a problem that requires the flattening of a... 阅读全文
摘要:
Protractor Page Objects are a recommended for testing your AngularJS applications. Page Objects abstract the interaction between the browser and your ... 阅读全文
摘要:
Protractor is built to interact with AngularJS applications. In this lesson, we will take a look at how Protractor interacts with the application usin... 阅读全文
摘要:
When you create a Form in Angular 2, you can easily get all the values from the Form using ControlGroup and Controls.Bind [ng-form-model] to the form ... 阅读全文
摘要:
Array.from()lets you convert an "iterable" object (AKA anarray-likeobject) to an array. In this lesson, we go over grabbing DOM nodes and turing them ... 阅读全文
摘要:
JSON is a very commonly used data interchange format. Unfortunately while most application domain models are graphs, JSON is designed to model hierarc... 阅读全文