James Monger Computers, cars, cynicism

Dependency Injection for React Components

Dependency Injection, often written as DI, is a great way to ensure your code is as reusable and as clean as possible. The main benefit, with the help of an “injection container”, is that you can switch modules out for other modules easily and in a single place.

Dynamic content on GitHub pages (or "How I Enslaved Travis CI")

GitHub Pages is a really, really useful resource. You can create a version-controlled website linked to your GitHub repositories - and you can also create one for your profile as well. You can put whatever code you like on there and it’s served as static files.

Global dependencies: they're insecure and they harm your contributors

Global dependencies are everywhere: task managers like Grunt and gulp, test runners such as Karma and ava, transpilers like CoffeeScript and TypeScript.