Greg Babiars's Blog

Greg BabiarsWritten by Greg Babiars who builds things for the web. You can follow me on Twitter.

Dynamic Components in React

17 April, 2016

Recently, I’ve had the requirement at work of needing to build two apps off one React codebase. While the two apps would be very similar in…

As Much RxJS as You Need

21 February, 2016

Note: Examples in this post use RxJS 5 Recently I have been using RxJS in work apps, starting with using it to coordinate async tests and…

Acceptance Testing a React App using React Test Utilities, Pretender and RxJS

12 February, 2016

As someone who is fairly new to building React apps, I got to the point where I needed to build acceptance tests for the app I’m working on…

Ember Routing - Passing Context vs Parameter

05 October, 2015

When linking and transitioning in an Ember application, there are two ways to pass context for a route with a dynamic parameter: pass a…

Responsive Ember Components

21 May, 2015

Over the past several years, responsive design has become very popular in the web development community. It allows us to build for ranges…

Generating BEM Rules with LESS

15 May, 2015

Edit (2017-05-19): This was a horrible idea and you should absolutely not do this. Much better to keep the code flat so it is easier to…

Splitting Git Commits

04 May, 2015

It is very important to keep a project’s Git history clean. There are several huge advantages to this like making it easier to track down…

JavaScript Marketing Translated

03 January, 2015

There are a lot of marketing terms that get used in the JavaScript space to describe different projects. Here is what I read when I see…

Using Ember Components as Content Wrappers

22 December, 2014

If you’re using Ember, hopefully you’ve come to appreciate how powerful components can be when building an application. Many times…

The Case Against Ember's Controllers

06 September, 2014

One of the most prominent parts an Ember application are controllers. Controllers allow you to add logic and hold data that back your…

Formatted Text Fields in Ember.js

29 November, 2013

A common need in most applications is custom text fields which display a formatted value. These can be date pickers, formatted numbers or…

Understanding {{this}} scoping in Ember Handlebars {{each}} blocks

28 November, 2013

One of the more confusing parts of using Ember is understanding how {{this}} is scoped within an {{each}} block in your templates. The…

Book Review - Maintainable JavaScript

02 October, 2013

After hearing Nicholas Zakas’ great interview on JavaScript Jabber I finally read his book Maintainable JavaScript . The book is an…

Getting Testem, QUnit and RequireJS working together

24 September, 2013

As a big believer in the rapid feedback that continuous testing gives, I looked into a few of the options in the JavaScript space a few…

Can We Stop Saying Single Page Apps?

15 September, 2013

If there is just one phrase in the web development community that I wish could just go away, it would be “Single Page Apps”. My big problem…

Ember.js - Resolving Embedded Models in Nested Routes

10 August, 2013

I recently ran into a roadblock with Ember and Ember Data where I was trying to access an embedded model for a nested route. What I wanted…

Using Grunt As Your Front End Dev Server

04 August, 2013

Need for Front End Seperation For many large development projects, there is a need to seperate the front and back end development into two…

The Myths of Backbone.js

01 August, 2013

When it comes to building javascript centric web apps, it’s hard to argue with the popularity of Backbone. It has played a big part in…

Write Prefix-free CSS using Grunt

21 July, 2013

One of the most painful parts about using newer CSS3 features is the amount of prefixed styles that must be written in order to support the…

Reusable Formatting with Ember Handlebars Helpers

16 June, 2013

One of the great things about Ember is that it uses Handlebars as its default template engine. Handlebars allows you to create a very…