20 points · by kentf · 9y ago · 5 comments
The relay idea is nice but it makes a little more sense in a GraphQL-based world, where multiple entities can be fetched in a single call. And I believe the Apollo client does have batching options that will re-compose your queries to limit API calls.
Honestly, who thought it would be a good idea to have a UI element that appears many times in a single page be responsible for fetching its own data?
This guy is a senior engineer but has never heard of higher-order components or the container pattern? Smells fishy...