React State Architecture: What Belongs in Local State, Context, URL State and TanStack Query?1. The State Management Question Is Usually Asked Backwards A fetched ticket, the currently selected ticket, an authenticated user, an editable reply, and a search value are all “state.” They still neOct 6 · 17 min readrjt.hashnode.dev
Frontend System Design: How I Would Architect a Production Dashboard in ReactReact dashboards rarely become difficult because of JSX. They become difficult when ownership gets unclear: who owns server data, session state, URL state, transient UI, permissions, mutations, and faOct 5 · 16 min readrjt.hashnode.dev
Redis + BullMQ for AI Workloads: Retries Are Not Enough — You Also Need Idempotency and OrderingMoving AI analysis out of an HTTP request improves the request path. Queueing that work does not make it correct. In my AI Support Assistant, a new message triggers BullMQ analysis of the ticket conveOct 4 · 16 min readrjt.hashnode.dev
How I Architected an AI Customer Support System with React, Node.js, PostgreSQL, Redis & OpenAIAdding AI wasn’t the difficult part. Deciding where AI belongs in the application architecture was. Adding an LLM API to an application is relatively straightforward. The harder questions begin afterOct 4 · 17 min readrjt.hashnode.dev