Our great sponsors
-
react-query
Discontinued 🤖 Powerful asynchronous state management, server-state utilities and data fetching for TS/JS, React, Solid, Svelte and Vue. [Moved to: https://github.com/TanStack/query]
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
So here's the meat of it all: I'm using React Query here, which has a hook called useQueries() that would let me craft all the per-guild queries as a list and run them in parallel. But if the number of guilds gets too high, I'll hit the rate-limiting. So, I need to run them in serial. But I have to do so without having any conditional logic around the hooks, of course.