From c8014f501bea8727f34374a662cccf26935fe13d Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Thu, 14 Sep 2017 12:19:49 +0200 Subject: [PATCH] Remove outdated example link (temp) --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 3f7c76a..42b07e5 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,6 @@ Integrates [apollo](http://www.apollostack.com/) in your [Vue](http://vuejs.org) [icon Apollo graphql server example](https://github.com/Akryum/apollo-server-example) -[icon Apollo "hello world" example app](https://github.com/Akryum/frontpage-vue-app) (outdated) - [icon How to GraphQL](https://www.howtographql.com/vue-apollo/0-introduction/) 💬 [VueConf 2017 demo](https://github.com/Akryum/vueconf-2017-demo) & [slides](http://slides.com/akryum/graphql#/) @@ -1168,7 +1166,7 @@ On the queries you want to prefetch on the server, add the `prefetch` option. It - a variables object, - a function that gets the context object (which can contain the URL for example) and return a variables object, - `true` (query's `variables` is reused). - + If you are returning a variables object in the `prefetch` option make sure it matches with the result of the `variables` option. If they do not match the query's data property will not be populated while rendering the template server-side. **Warning! You don't have access to the component instance when doing prefetching on the server. Don't use `this` in `prefetch`!**