Chris ColborneinModern JS for Legacy DevsDon’t use method syntax for your TypeScript function types!March 31, 2022Apr 8, 2022Apr 8, 2022
Chris ColborneinModern JS for Legacy DevsHow can I run some code after changing state with React hooks?Running some code after changing state is a common desire. Let’s look at how to do that with hooks.Dec 25, 20201Dec 25, 20201
Chris ColborneinModern JS for Legacy DevsObject Destructuring 101aka what on Earth does doIt({ x: x2 = getX() } = {}) mean?!Nov 9, 2020Nov 9, 2020
Chris ColborneinModern JS for Legacy DevsWhich Headless CMS should I use for a new Gatsby site?Gatsby is an awesome static site generator, but you need to get your data from somewhere. What are your options for headless CMSs?Apr 19, 2020Apr 19, 2020
Chris ColborneinModern JS for Legacy DevsCan I use React Helmet to add social card meta tags for Twitter and Facebook?So you’ve built an awesome React powered site. It’s shiny, and cool, and does everything you need… until your client/boss/best mate’s dad…Feb 18, 2020Feb 18, 2020
Chris ColborneinModern JS for Legacy DevsIs it ever OK to set state directly? A setState cheat sheetOne of the trickier parts of React is understanding state. Remember these simple rules and you’ll never be confused by setState again!Feb 3, 2020Feb 3, 2020
Chris ColborneinModern JS for Legacy DevsAvoid npm build errors by tracking your Node version with nvmYou know the feeling. You get a spare moment jump in and do some updates on an old app. But you try to get it running and the dreaded npm…Jan 21, 2020Jan 21, 2020
Chris ColborneinModern JS for Legacy DevsArrow functions coming soon to PHP 7.4The latest version of PHP 7.4 is coming soon. Release candidate 1 (the first of 6 planned RCs) was just released on 5th September and 7.4…Sep 8, 2019Sep 8, 2019
Chris ColborneinModern JS for Legacy DevsBuild a GraphQL server with LaravelOne of the cool new things coming out from Facebook Open Source is GraphQL.Jul 26, 2018Jul 26, 2018
Chris ColborneinModern JS for Legacy DevsWhy React or Vue and not jQuery?One of my colleagues has been playing devil’s advocate and hitting me with variations of the following question for a week or two now.Jan 28, 20182Jan 28, 20182