Instant Cold Starts with a Persisted TanStack Query Cache (Part 5)
Persist the TanStack Query cache per wallet for instant cold starts, with sync writes at lifecycle edges plus batching and retries under rate limits.
Articles about web development, performance, and open source.
Persist the TanStack Query cache per wallet for instant cold starts, with sync writes at lifecycle edges plus batching and retries under rate limits.
Stop re-deriving wallet state per component: compose in cached queries and hoist fan-outs into Context so expensive work runs once.
Gate expensive wallet queries behind a cheap "latest transaction" poll so balances refetch only when an address actually changes.
How I found the Alephium wallet's 24-word recovery phrase sitting in plain text in RAM on every unlock, and the defense-in-depth work it took to wipe secrets from memory across an Electron and a React Native wallet.
How I moved server state from Redux Toolkit into TanStack Query in two production wallets, one query at a time, without a big-bang rewrite.
Case study from two Alephium wallets: tangled Redux thunks, a self-inflicted API DDoS, and slow updates that pushed us to TanStack Query.
A Metro and lifecycle post-mortem of optimizing the startup time of the Alephium mobile wallet.
How I gave my self-hosted AI assistant read access to my entire Obsidian vault and restricted write access to a single folder, without risking my notes.
Rebuilding the same sequential, parallel, and limited-concurrency exercises with promises and async/await, and watching the manual bookkeeping disappear.
The web spider example from Node.js Design Patterns lost me. Here are the simple exercises I used to finally internalize callback-based async control flow.
A step-by-step guide to setting up Syncthing on a Proxmox home server, macOS, and Android to sync an Obsidian vault - no cloud services required.
A deep dive into modernizing the @alephium/web3 TypeScript SDK - replacing polyfills, consolidating crypto libraries, fixing the build system, and cutting bundle size from 742 kB to 207 kB.