.tips
page 8 of 10, 238 small things in all. back to the first.
.march
2026, 4 tips.
.february
2026, 15 tips.
range-diff shows what a rebase actually changed
gitcode-reviewblame with -w -C to see through reformatting
gitFOR UPDATE SKIP LOCKED is the whole queue
postgresqlqueues--word-diff for prose and long lines
gitgit stash leaves new files behind unless you say -u
gitreflog is the undo button for the rebase you regret
gitgit switch and git restore, not checkout
gitgit add -p to commit only the lines that belong together
gitgit bisect run finds the bad commit while you make tea
gitdebuggingA route handler that returns config should be force-static
nextjsperformanceInvalidate by tag from the code that changed the data
nextjscachingloading.tsx is a Suspense boundary around the whole segment
nextjsuseId for label and input ids
reactaccessibilityEvery effect that subscribes returns an unsubscribe
reactIf it happens because the user did something, it is not an effect
react
.january
2026, 6 tips.
use() reads a promise or a context, conditionally
reactIn React 19, ref is just a prop
reactWrap state updates that trigger heavy renders in startTransition
reactperformanceuseDeferredValue keeps typing smooth over a slow list
reactperformanceuseSyncExternalStore for anything outside React
reactChange the key to reset a component's state
react