Articles

Software engineering lessons from production, raw and honest from the heart โ€” almost 20 years of them. Jump to a year in the sidebar, or browse categories and curated collections.

8 articles from June 2021 ยท show all

Hacking the React AST for fun and profit โ€“ #CodeWithSwiz ep34

This is hold my beer level of hackery. It didn't work but we learned lots in the process.

A surprising feature of JavaScript optional chaining

This blew my mind, thought you'd like it too. You can do more with ?. than you thought.

Use Netlify's _redirects on Gatsby Cloud

Something always goes wrong when you change hosting providers. ๐Ÿ˜… For me it was redirects. A vital feature of any site migration.

Do important work

Next time you finish a project, ask yourself: *"Might this work be important?"*. Add the polish.

A better React 18 startTransition demo

Demoing startTransition is hard. Modern computers are too fast ๐Ÿ˜… โ€“ Dan Abramov, a React core team member, helped me fix it up. Here's what I learned

Trying out React 18 Alpha

I read everything about React 18 Alpha, trawled through the work group, and ran some experiments. Here's what you'll wanna know.

Words that scare developers

Words that scare developers are powerful tools that are not meant to be safe. That is a valuable lesson.

A fun security bug with static rendering โ€“ CodeWithSwiz #31

The flash of unlocked content is great fun for any paywall