
deleted 1,070 lines of code by migrating from Redux to TanStack Query
before: Action → Thunk → Reducer → Selector → Component
after: Fetch fn → Hook → Component
70% less boilerplate. separation of concerns actually makes sense now.
#ReactJS #TanStackQuery
English




























