Learning Webpack with React and ES6

When I create a React/ES6 app, I reach for my tool of choice – browserify. However, that has certain issues – things that I am certain I can work around if I try, but I’m spending all my time in the tooling. I want to write the application – not the tools. A lot of…

ASP.NET, ES2015, React, SystemJS and JSPM

I’ve started investigating a relative newcomer to the JavaScript library, but one that is making a lot of noise. That library is React. But when I combined this with ASP.NET, I found the build processes confusing. There just isn’t a good recipe out there that allows you to write React/JSX components in ECMAScript 6 and…

Node, MVC Controllers and ECMAScript 2015

Long time readers of my blog will remember that I previously covered Node and MVC applications in a short tutorial series. At that point, I wrote the controllers and loader in ECMAScript 5.1. The code to load the controllers was this: The typical controller looked like this: That’s a lot of boilerplate code and it’s…

Visual Studio Code and Trimming Whitespace

Have you noticed that eslint doesn’t like trailing whitespace. It has a rule for it: the no-trailing-spaces rule. Normally, this wouldn’t be a problem. I’m normally using Visual Studio 2015. Visual Studio takes care of it. Firstly, when you are typing JavaScript, the editor properly indents and doesn’t give you blank lines with spaces on…