Field Notes

Zach's Blog

  1. Two dots or three dots in git?

    The answer might be zero dots

    #git
  2. Treefort: git worktrees without the work 🌳

    A tool to make git worktrees effortless

    #git#terminal#tooling#ai
  3. Why it's so hard to get a child element to scroll in flexbox

    min-height is silently breaking your flexbox layout

    #css
  4. TypeScript config files with type-aware ESLint

    How to keep *.config.ts files in TypeScript without breaking your lint setup

    #typescript#eslint#tooling#vite
  5. 5 Intermediate React Mistakes

    Mistakes that block the jump from intermediate to senior

    #react#js
  6. OKLCH colors are better for designers and developers

    Warning: this is going to make you want to go update all your colors

    #css#color
  7. How to install corepack

    For deterministic dependency installation

    #utility#npm#javascript
  8. Postman is Dead. Long live Bruno

    Integrate example requests into your normal development workflow

    #utility#testing#javascript
  9. Your IDs need better DX

    They can be sortable, selectable, distinguishable, and type safe.

    #utility#typescript#db
  10. How to Suck Less at Git

    Part 1 - The Git Graph

    #git
  11. How to Suck Less at Git

    Part 2 - Editing Git History

    #git
  12. How to Suck Less at Git

    Part 3 - Other Useful Git Tools

    #git
  13. From the web: The Copilot Delusion

    Blogmark

    A counterpoint to the hype

    #ai
  14. FNM: a better node version manager

    It automatically changes node versions as you move between projects

    #node#terminal#utility#tooling
  15. 7 Slack Habits That Make You a Better Person

    If you ever find yourself at some pearly gates, you'll thank me

    #opinion#team#communication
  16. Full-stack Engineering is a Lie

    A case for engineering specialization

    #opinion#engineering#team
  17. A smarter cd command

    A tool called zoxide will improve your whole terminal experience

    #terminal#utility#tooling
  18. You should version control your dot files

    You know the ones, all those config files sitting in your home directory

    #utility#organization#tutorial
  19. Filling out the same form over & over again

    With a Chrome extension called Autofill

    #utility#tutorial
  20. How to stop using so many optional properties in your React TypeScript props

    Using TypeScript unions to define relationships between props

    #typescript#react#tutorial
  21. How to interactively rebase git merge commits

    The easiest way to rearrange merge-commit pull requests

    #git
  22. Death to Default Exports!

    Why you should go right now and delete every "default" from your codebase

    #javascript#typescript#exports#react#opinion
  23. I recreated my blog with Astro.js

    About the ups and downs of switching my Next.js blog over to Astro

    #mac
  24. How I setup a new Mac

    The perfect terminal, OS settings to build better apps, best Mac productivity apps, & more!

    #mac#terminal#opinion#utility#tooling
  25. When to use each JavaScript iteration method

    And a practical guide to the reduce() function

    #javascript#typescript#react
  26. How to make your app faster with React's key prop

    A puppy dies every time you set key={index}

    #react#tutorial
  27. How to test TypeScript type definitions with Jest

    You can add tests for your static TS types right next to your regular Jest tests

    #typescript#jest#testing#tutorial
  28. To squash or not to squash?

    Which merge strategy should your team use for PRs?

    #git
  29. Strongly typing a React "component" prop

    Allowing customization of the root node of a React component & maintaining correct prop typing

    #react#typescript
  30. What I learned from publishing a Svelte library

    The highs, the lows, the lessons learned

    #svelte#js#npm
  31. What does the isolation CSS property do?

    A little CSS magic that will improve your use of z-index

    #css#z-index
  32. Deploying a Node.js server that uses websockets

    Websockets are really cool for instances when you need real time communication between your users

    #nodejs#websockets#svelte#express#tutorial
  33. Why you should stop using git pull

    ...in its default form

    #git
  34. Make Rebasing Faster...unix style

    An update to an old post that only worked on Windows

    #git#terminal#utility
  35. Better Next.js SSR with React Query

    How to use React Query to server side render in Next.js without code duplication

    #react#react-query#ssr#tutorial
  36. How to write better commit messages

    You writing "fixed" is hurting your whole team

    #git#communication
  37. Why you should stop using Git's default text editor

    Use the text editor you're most comfortable with

    #git#terminal#utility
  38. New git commands to replace 'checkout'

    Git somewhat recently introduced two new commands, switch and restore

    #git#utility
  39. How to use Gremlin Cosmos DB with Azure Functions

    The story that Microsoft docs, for some reason, refuse to tell you

    #azure#nodejs#gremlin#cosmosDB#tutorial
  40. How to get started with Azure Functions in Node.js

    What I've learned from my confusing initial experience setting up Azure Functions in JavaScript

    #azure#nodejs#javascript#typescript#tutorial
  41. Git 101 - The Log

    This post is the first installment of what I hope to be a comprehensive explanation of the most effective git strategies and workflows

    #git
  42. Building an IoC container in C#

    The design and implementation of an Inversion of Control container in C#

    #csharp#ioc#mvvm#tutorial
  43. Making rebasing faster

    Do you find yourself running "git rebase -i head~N" a lot?

    #git#efficiency#utility
  44. A Shortcut For Git (on Windows)

    What are the three most common letters you type when using git? 'g-i-t'. What if you could reduce that by two thirds?

    #git#terminal#utility
  45. Moving a branch pointer in Git

    My struggles with a seemingly simple task

    #git
  46. iOS View Controller Variable Initialization

    Inside of a view controller, how do I initialize one variable to the value of another?

    #ios#ui
  47. iOS UI Popover Controller

    What is a UIPopoverController and when should you use it?

    #ios#ui
  48. iOS Nav Controllers

    When a navigation controller is used to transition the user to a different view where they need to make a selection, how can this selection data be transferred back to the main view?

    #ios#ui
  49. iOS Data Storage

    What is the preferred way to store static data when building an iOS application?

    #ios
  50. The Modern Switch Statement

    Why do most languages still require breaks in a switch statement? Is Swift the beginning of the end for these break statements?

    #ios
  51. What's the best way to create a UI in iOS?

    There are at least three completely different ways to create a UI for an iOS app.

    #ios#ui