Developer Reference
Opinionated micro-docs. One right answer. Copy-paste ready.
Categories
Git
1
Version control commands, workflows, and common fixes
JavaScript
1
Language features, patterns, and runtime behavior
TypeScript
1
Type system, compiler options, and type-level programming
Node.js
5
Runtime APIs, module system, and server-side patterns
React
0
Components, hooks, state management, and rendering
CSS & Layout
0
Layout, selectors, responsive design, and visual effects
Linux & Shell
0
Command-line tools, scripting, and system administration
Recently Added
Array reduce: sum values and transform objects
JavaScript
iterates an array and accumulates a single result. The key: always return the...
Undo the last commit but keep the changes
Git
Reset the last commit while keeping all changes staged and ready to re-commit....
Fix "Cannot find module" with ES modules in Node.js
Node.js
Node.js ES modules require explicit file extensions in import paths. Unlike...
A storage URL builder and its static file handler must share one prefix constant
Node.js
When a storage abstraction returns URLs that the app's static-file handler is...
Content-hash dedup that restores a soft-deleted row must re-run quota and limit checks
Node.js
Content-hash dedup is supposed to be free: same bytes, same row, no charge. If...
Serialize per-user check-then-write flows with pg_advisory_xact_lock(hashtext(id))
Node.js
When the same user can race against themselves on a check-then-write flow...
typescript-eslint --fix can break Prisma JSON column writes
TypeScript
(tightened in 8.59) flags casts at Prisma JSON write sites as "unnecessary."...
Reproduce Railway's npm ci locally with the exact npm version
Node.js
When a Railway deploy fails with errors that don't reproduce locally, the...