Alasdair McLeayRegex to find all uses of a React component with a certain propUsing this regex, e.g. in vscode search1 min read·Apr 22, 2021----
Alasdair McLeayGaggia Classic Accessories and ModsA list of accessories and mods I’d recommend for a 2019 or pre-2015 Gaggia Classic, assuming you’re making milk based drinks.9 min read·Mar 30, 2020--1--1
Alasdair McLeayA useState and Context API pattern that avoids redundant renders2 min read·Mar 12, 2020--1--1
Alasdair McLeayuseHover React hook comparisonA comparison of useHover hooks I could find, mainly from https://nikgraf.github.io/react-hooks/2 min read·Mar 9, 2020--1--1
Alasdair McLeayLearning FlowtypeI recently came across the following flow type definition:3 min read·Mar 5, 2020----
Alasdair McLeayWhy I’m cancelling my Sky subscription (before it’s been installed)I’ve wanted Sky for maybe 30 years, on and off, but my mum raised me not to pay Rupert Murdoch any money.4 min read·Mar 13, 2019----
Alasdair McLeayLearning ReactThese are the steps I would recommend going through to familiarise yourself with React. This is aimed at a mid level web developer with no…2 min read·Dec 21, 2017----
Alasdair McLeaynpm link, peerDependencies and webpackIf you are developing a node library and using it via npm link, you can run in to issues with duplicate dependencies.4 min read·Dec 1, 2017--8--8