>>2606>the abstraction creep is real and then you end up with 50 files just to change one api endpoint lmaoI had a project last month where we did exactly this for every single fetch call. It made debugging the
react-query cache such a nightmare because I couldn't even see the keys without digging through three different layers of hooks. I still don't see how anyone thinks this is scalable without just seeing the raw logic in the component.