Boyleing Point

Psychotic ramblings about technology

JSX in Vue.JS

Posted by Luke Boyle on the

I've recently been experimenting with using jsx in Vue, the Vue jsx plugin for babel and using that instead of the standard template pattern. Since there are really not any official docs for the plugin, I'm going to run through a quick usage guide.

Essential Hip-Hop Albums of the Decade so far.

Posted by Luke Boyle on the

Earl Sweatshirt - Earl

Publishing React components to npm

Posted by Luke Boyle on the

Having built and published a few React components to npm, in keeping with the plug-n-play spirit of npm, I have what I believe to be a very simple implementation for both the development and installation of components. I published a boilerplate project to Git/npm and this is now my go-to whenever I need to put together an external component. The basic concept is that you have an index.jsx in a 'src' folder. This should be transpiled to ES5 and output to the root directory called 'index.js'. In this instance, index.js is the "main" in your package.json. You may notice the entry "jsnext:main" in the package which points to the jsx file. This convention was established by rollup ( as an entry point for ES6 modules. The idea is that when you bundle using Rollup (and the ES6 import/export syntax), your ES6 module will be used instead of the ES5 one. Given that we're still largely in the ES5 age, the rollup config

Dynamic Product Filtering in Shopify

Posted by Luke Boyle on the

Disclaimer: Shopify is not good. I recommend steering clear and opting for one of many alternatives. It's an extremely closed platform that doesn't encourage innovation and naturally leans towards bad practice. Given this, if you still have to use it, read on.

Agander 2.0 is now out.

Posted by Luke Boyle on the

It's been about 2 and a half months since the first official full release of Agander went live, and it's out with the old in with the new.

Why I cancelled my Spotify subscription.

Posted by Luke Boyle on the

I've been a Spotify Premium subscriber since 2013, and I've watched a gradual change from useful to straight up garbage. Adding a local file It used to be that a paired device would appear in the sidebar and you could drag local files onto it. I'm not sure what the justification behind it is, but the paired devices no longer appear as accessible storage, as a compromise you can now use your devices as remote controllers. The current process to add local files to other devices is to add the local file to Spotify in your preferences, go to the local files in the sidebar (see below) Drag the files to a playlist and then make the playlist available offline on your mobile device. What's wrong with this?