4 ms·
We've been a bit apprehensive about using `as` in the codebase in general, but I hear you on that instance not being as big of a deal. Regarding RTK Query, we
by bichiliad 5y ago
We've been a bit apprehensive about using `as` in the codebase in general, but I hear you on that instance not being as big of a deal.
Regarding RTK Query, we have used it, a little! I'm going to pass this thread along to the teammate of mine (@sangster) who's been really excited about using RTK Query more — he might have some thoughts to share.
- sangster 5y agoHeya =) Etsy is still on `react-redux` v5, because it's taking a long time to remove our `react-router-redux` dependency. Once we can move to `react-redux` v7 and can use the RTKQ hooks, I'll be working towards encouraging more RTK Query usage. I know you _can_ use RTKQ without the hooks, but there's a lot to figure out in terms of establishing best practices and how to hook everything in with code splitting. I absolutely want to get there, because it solves a lot of problems for us.