Upgrade to Pro — share decks privately, control downloads, hide ads and more …

React + Relay + GraphQL

React + Relay + GraphQL

Google Developer Group Lima

Ursula Cervantes

May 27, 2017
Tweet

More Decks by Ursula Cervantes

Other Decks in Programming

Transcript

  1. WHY ARE YOU HERE? ➤ I use Relay / GraphQL

    in production ➤ I tried Relay / GraphQL (boilerplate apps / sample demos) ➤ I never tried Relay / GraphQL, but I heard about it ➤ Never heard about this ➤ I’m here just for coffee break
  2. REACT ➤ JSX syntax ➤ Renders DOM not HTML ➤

    Components are description of UI
  3. BAD

  4. BAD

  5. BAD

  6. BAD

  7. BAD

  8. BAD

  9. BAD

  10. GRAPHQL It should not matter the data that is used

    from the application components when creating an API.
  11. GRAPHQL ➤ Exploring the graph from the root call ➤

    [Data] backend agnostic ➤ No se requiere API con mock data
  12. ➤ GraphQL queries can be mapped to any type of

    backend ➤ GraphQL scheme allows validations and detection of initial errors when invalid operations are executed. ➤ The structure of the response is equal to the structure required. ➤ You can implement the types of nodes - they are not predefined.