У нас вы можете посмотреть бесплатно How To Use Fragments (They're Not for Re-use!) - Janette Cheng, Meta или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
The most natural way to understand fragments is as a reusable part of a query. We at Meta know that this isn't true and can lead to a world of pain when it comes to making sure the data you fetch matches the code that uses that data (no over-fetching). The worst part is both the GraphQL spec and the educational materials mention re-use for fragments as part of their value: "Fragments allow for the reuse of common repeated selections of fields, reducing duplicated text in the document." This talk will explain what we've learned is the best way to use fragments (as subcomponents you convert to in order to pass to the logic that is tied to that fragment). We will use Relay's per-file graphql co-location as a demonstration of this philosophy in action If you are interested how we approach GraphQL at Meta have a look here: • GraphQL at Meta ------- Get More GraphQL 📥 Subscribe for more talks & presentations: @GraphQLFoundationTalks ▶️ Watch the Working Group Meetings: @GraphQLFoundation ✅ Join our Discord: https://discord.graphql.org/ 🛠 Contribute on GitHub: https://github.com/graphql 🛼 Follow us on X: https://x.com/graphql 👩💼 Follow us on LinkedIn: / graphql-foundation #graphql #fragments #relay #react