TypeError: Cannot read property ‘visitStatement’ of undefined

Quick tip: When working in Angular 2 if you get an error that looks like: EXCEPTION: TypeError: Cannot read property 'visitStatement' of undefined Or: EXCEPTION: Error: Uncaught (in promise): TypeError: Cannot read property 'visitStatement' of undefined Try checking your code for an empty 'click' event binding (<component (click)=""></component>). If the event is left empty it can… Continue reading TypeError: Cannot read property ‘visitStatement’ of undefined

No is an Acceptable Answer

When used appropriately, “No” can be our most powerful tool. Truly powerful “no” users employ it in the following ways: No, but... ... we could always try 'x.' We don't need to be a yes-people or flip-flop on our opinions but we do need to give reasonable alternatives to the desired course of action. Simply saying 'no'… Continue reading No is an Acceptable Answer

Building CSS Transitions with Chrome DevTools

Animation style, acceleration, deceleration and motion are all very important things to consider when designing a user interface. Luckily most of these can be implemented using CSS transitions. One of the easiest ways I've found to edit own transition and animation styles outside of the few keywords that have good browser support such as linear, ease-in,… Continue reading Building CSS Transitions with Chrome DevTools

Loading Localhost from Mac on your iPhone or Android

Testing your local environment against Xcode and Browserstack is great, but they're still just emulators. If you need to test against an actual mobile device it's useful to load your current local environment on a mobile device and do your testing immediately before you push to a remote server. The following instructions are pretty specific… Continue reading Loading Localhost from Mac on your iPhone or Android