🙌 40% off everything - Black Friday!

Coupon BF40 at checkout for our biggest discount ever.

days
hours
mins
secs

Blog

Our top guides and resources to help you learn new technologies the right way. Enjoy!

React.createClass versus extends React.Component image

React.createClass versus extends React.Component

Todd Motto image

Todd Motto

Jan 4, 2016

Two ways to do the same thing. Almost. React traditionally provided the React.createClass method to create component classes, and released a small ...

Stateless React components image

Stateless React components

Todd Motto image

Todd Motto

Dec 28, 2015

React v0.14.0 introduces “stateless” components, which takes a more functional approach to creating chunks of JSX and templates. In my previous art...

Creating a tabs component with React image

Creating a tabs component with React

Todd Motto image

Todd Motto

Dec 28, 2015

I have to say, this is my first proper component built in React. I tried it out last year and absolutely loved it. Feel free to rip this component ...

Angular modules, setters, getters and bootstrapping image

Angular modules, setters, getters and bootstrapping

Todd Motto image

Todd Motto

Dec 21, 2015

The first place you’ll usually start in any Angular application or module library, is creating a module. Let’s walk through the syntax differences ...

Using Controller $filters to prevent $digest performance issues image

Using Controller $filters to prevent $digest performance issues

Todd Motto image

Todd Motto

Dec 15, 2015

Filters in Angular massively contribute to slow performance, so let’s adopt a sensible way of doing things, which may take you an additional ten mi...

Resolve promises in Angular routes image

Resolve promises in Angular routes

Todd Motto image

Todd Motto

Dec 14, 2015

Phase 1 of our Angular careers involved $http inside a Controller. Phase 2 involved abstracting into a Service and calling the Service inside a Con...

Directive to Directive communication with require image

Directive to Directive communication with require

Todd Motto image

Todd Motto

Dec 14, 2015

Communication between Directives can be done in various ways. When dealing with Directives that have a hierarchical relationship we can use Directi...

Dynamic Controllers in Directives with the undocumented name property image

Dynamic Controllers in Directives with the undocumented name property

Todd Motto image

Todd Motto

Dec 12, 2015

Assigning Controllers to Angular Directives is the norm when building out components. But what if you wanted to dynamically assign a Controller to ...

Angular component method back-ported to 1.3 image

Angular component method back-ported to 1.3

Todd Motto image

Todd Motto

Dec 7, 2015

AngularJS 1.5 is soon to release the component() method which I wrote about last month. I decided to back-port the functionality from the new featu...

Exploring the Angular 1.5 .component method image

Exploring the Angular 1.5 .component method

Todd Motto image

Todd Motto

Nov 13, 2015

AngularJS 1.5 introduced the .component() helper method, which is much simpler than the .directive() definition and advocates best practices and co...

Walkthrough to upgrade an Angular 1.x component to Angular 2 image

Walkthrough to upgrade an Angular 1.x component to Angular 2

Todd Motto image

Todd Motto

Oct 27, 2015

In this article we’re going to look at upgrading your first AngularJS (1.x) component, a simple todo app, across to Angular (v2+) code. We’ll compa...

Superfast Angular use ngModelOptions to limit $digest cycles image

Superfast Angular use ngModelOptions to limit $digest cycles

Todd Motto image

Todd Motto

Oct 24, 2015

The $digest cycle is the critical entity for keeping our Angular applications fast: the faster the cycle, the faster the two-way data binding. Java...