JoosepAlviste / apollo-client-partial-details-example

Example for using partial list view data to pre-fill detail views with Apollo Client

Home Page:https://medium.com/scoro-engineering/improving-the-user-experience-of-page-navigation-with-apollo-client-ebfca0e83c08

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apollo Client Partial Details Example

An example project with Vue, Apollo Client, TypeScript, and GraphQL Code Generator showing off the possibility to easily use list query data for pre-filling data for a details query.

Requirements

  • node
  • npm

Getting started

First, install the dependencies:

npm install

Then, run the dev server:

npm run dev

You can also run GraphQL Code Generator:

npm run codegen

And run TypeScript type checks:

npm run build

About

Example for using partial list view data to pre-fill detail views with Apollo Client

https://medium.com/scoro-engineering/improving-the-user-experience-of-page-navigation-with-apollo-client-ebfca0e83c08


Languages

Language:TypeScript 74.4%Language:Vue 23.7%Language:HTML 1.9%