Tag: Javascript

React Advice for Faster Rendering

This is some advice that I’ve discovered through working on various React projects. Some of these practices are in response to issues with these projects. They are not intended to be a standard, but more of a guide… Read More

A better safeApply with Angular 1.5

Many of you might have run into this error at some point in time: Error: $digest already in progress This is typically created when someone calls $scope.$apply() in the middle of their code. Angular can be finicky about… Read More

Promises

Javascript uses two execution models for code, one is synchronous, meaning code is executed iteratively and effectively one line at a time. The other model is asynchronous, where a bit of code can be executed later, after waiting… Read More