What I write
-
Redux without React — State Management in Vanilla JavaScript
Recently, I had one of those moments again and started working on a web application using Redux and nothing else but vanilla JavaScript. In this article I want to outline how I structured my app, examine some of my earlier (and ultimately unsuccessful) iterations, before looking at the solutions I settled on and what I learned along the way.
-
Clean Code with ES6 Default Parameters & Property Shorthands
Creating a method also means writing an API. Whether it is for yourself, another developer on your team, or other developers using your project. Depending on the size, complexity, and purpose of your function, you have to think of default settings and the API of your input/output
-
Untangling Spaghetti Code: How to Write Maintainable JavaScript
Almost every developer has had the experience of maintaining or taking over a legacy project. The code can be messy, undocumented and it can take days to fully understand everything. But, with proper planning, analysis, and a good workflow, it is possible to turn a spaghetti codebase into a clean, organised, and scalable one
-
How to Write Atom Packages Using Vanilla JavaScript
Atom is a modern, to the core hackable editor. This is great, but for developers who aren’t fluent in CoffeeScript, it is hard to follow the documentation. Understanding the ecosystem of Atom can become confusing. Let’s go through all aspects of how writing an Atom package in JavaScript works
-
ES2016: Should the Future of JavaScript Be Developer-Driven?
Recently, it was announced that the next version of JavaScript (ES2016) will be comprised of a very small feature set, namely Array.prototype.includes. Considering the plethora of new features introduced by ES6, some people might be surprised at exactly how small a release ES2016 will be
-
Adding the ECMAScript 6 flavour to your IDE
Using ECMAScript 6 features is all cool and feels good, but all that makes little sense without syntax support in an IDE.
-
How to setup an ES6 production-ready project
As ES6 is really hyped this year and the specification has eventually been finished, I wanted to start using it. By today I have turned almost all my private projects and a couple of client projects into a solid ES6 setup.