From 05c8011d5c19b05a14ccb9c2e12d91c5bf5b15c0 Mon Sep 17 00:00:00 2001 From: Tomi Alu Date: Fri, 13 Sep 2024 14:52:08 +0100 Subject: [PATCH] refactor(React Native Guides): Recommend GraphQL for APIs with multiple data sources Updated the guide to recommend using GraphQL when fetching data from multiple sources. --- react/README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/react/README.md b/react/README.md index 05ea8df0..367a6c86 100644 --- a/react/README.md +++ b/react/README.md @@ -45,9 +45,10 @@ - For greenfield React projects we like to use [TypeScript]. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. For a quick introduction, check out [TypeScript in 5 minutes]. -- If our app needs to make network requests and hold state outside of a - component, we like using GraphQL and our preferred library is [Apollo]. We - have a [section on `GraphQL`](/graphql) in our Guides. +- When designing an API that requires pulling data from multiple sources, we + recommend using GraphQL for more efficient and flexible data fetching. Our + preferred library is [Apollo], and for more details, you can check out our + [`GraphQL`](/graphql) guide. - When building React apps with TypeScript and Apollo, we've found working in [VSCode] to be a mostly-good experience.