docs: Update SSR Docs for serializer options. (#693)

This commit is contained in:
Austin Story
2019-07-16 10:11:38 -05:00
committed by Guillaume Chau
parent 4b45acaec2
commit 388dd2a6a4
+3
View File
@@ -41,5 +41,8 @@ const js = ApolloSSR.exportStates(apolloProvider, options)
attachTo: 'window',
// Prefix for the keys of each apollo client state
exportNamespace: '',
// By default we use sanitize js library to prevent XSS
// pass true here will perform a standard JSON.stringify on the states
useUnsafeSerializer: false,
}
```