Author Archive

The Definitive React Hooks Cheatsheet

React Hooks is the new hotness in the React world. I’m writing steadily more and more of them and I thought it would be useful to have a cheatsheet to refer back to which encompasses the basic hooks as well as the intricacies of useEffect. Check out the official Hooks API Reference for more in-depth […]

Read More6m

Keep Your Types And Interfaces Closer (In TypeScript)

I’ve been writing production TypeScript for a little over year and as a hobby for a couple of years longer than that. If you’ve never used TypeScript before, the quick way to describe it is that it’s ES2015+ and types thrown together. Ie. modern JavaScript with real typing. TypeScript is awesome and I love writing […]

Read More2m

Improve Your Windows Development Environment

Windows has been my main dev environment for about 4 years with some linux interspersed in there. Before that, I used OSX and Windows interchangeably. When I made the switch, I wrote an article on my Windows Dev environment and today, I want to write a sort-of update, and sort-of introduction on how to make […]

Read More5m

Simple HTML/CSS Workflow With Parcel

Very recently, I started working on an HTML/CSS side project and I found myself in a state of panic. I haven’t worked on plain HTML/CSS in a while. JavaScript has been part of my workflow for years and the output of that JavaScript was always a single page app. In fact, I haven’t worked on […]

Read More6m

How to “grep” in PowerShell

PowerShell is awesome if you haven’t used it but it’s absolutely foreign if you’re used to Unix-like Bash-like shells. For instance, there’s no grep, and ls -al won’t work (but ls will and it’ll display all files with details!). If you switch from Linux to Windows, you might be tempted to either install Cygwin or […]

Read More3m

How I Structure My JavaScript File

Loads of people have been asking me how I write my JavaScript — okay, that’s a lie, no one asks me that but if they did, I’d like to point them to this article. I adopted my code style over the years, after reading Clean Code (and other books), after using years of PHP. Yes, […]

Read More9m