Jack of all trades, ... • 23h
Here’s how I refactored the codebase from 300+ API calls & 1.5s initial load down to just 14 & <100ms: - Consolidated React Query to a single QueryClient instance - Restructured backend from a 7-level hierarchical entity map to clean tree formation - Used keepPreviousData in React Query - Disabled unnecessary refresh-on-mount and refresh-on-focus - Implemented prefetching Next: implementing ISR in Next.js 15 :) #buildinpublic #saas #production #optimization #ecommerce
Download the medial app to read full posts, comements and news.