I’m rewriting an incredibly customizable/configurable app right now that relies on an API, which will end up having about 150 (likely more) API endpoints to call. My strategy so far is to split up the endpoints between more global data, which I deal with through Redux, and component specific data, which is fetched and managed in the state of a [sub-sub-…-sub]-component. Before I get too deep into implementing all of these, are there any best practices I should follow in order to manage all of the endpoints?
cragalag (Jahoozy) #1
Gaelan (Gaelan) #2
Do you have control over the API? If so, have you considered GraphQL? Is that not an option for some reason?