Founder of Voux, lead front-end engineer at Mozio Inc. JavaScript, Angular, React, conference speaker. Developer Expert at Google.

$onInit and new "require" Object syntax in Angular components

The component() helper method shipped with so many great features to take us even closer towards Angular 2 syntax and integration. Let’s explore the $onInit method and the new require...

Read more $onInit and new

Stateless Angular components

There were a tonne of interesting changes happening in the beta and release candidate phases of Angular 1.5, one of them was the introduction of the Component method, which saw...

Read more Stateless Angular components

One-way data-binding in Angular 1.5

Angular is known for it’s powerful two-way data-binding, but with the new release of Angular 1.5, we’ve got one-way data binding (one-directional) binding capabilities inside our Components and Directives. Woohoo!...

Read more One-way data-binding in Angular 1.5

So you want to talk at conferences? This is what it's like.

Talking at conferences looks like an absolute breeze, but is it? No. It’s stressful, nerving, requires a lot of planning and sometimes things go wrong. Here’s some thoughts and feelings...

Read more So you want to talk at conferences? This is what it's like.

React.createClass versus extends React.Component

Two ways to do the same thing. Almost. React traditionally provided the React.createClass method to create component classes, and released a small syntax sugar update to allow for better use...

Read more React.createClass versus extends React.Component

Stateless React components

React v0.14.0 introduces “stateless” components, which takes a more functional approach to creating chunks of JSX and templates. In my previous article on creating a tab component I created the...

Read more Stateless React components

Creating a tabs component with React

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 apart,...

Read more Creating a tabs component with React

Angular modules, setters, getters and bootstrapping

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 between creating a module (a setter) and...

Read more Angular modules, setters, getters and bootstrapping

A year in review of toddmotto​.com

2015 was a crazy year for me, a lot happened and much of it is down to this blog and you as a wonderful reader/sharer of my content. I’ve grown...

Read more A year in review of toddmotto​.com

Using Controller $filters to prevent $digest performance issues

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 minute to code, but will dramatically...

Read more Using Controller $filters to prevent $digest performance issues