docs: Update SSR Docs for serializer options. (#693)
This commit is contained in:
committed by
Guillaume Chau
parent
4b45acaec2
commit
388dd2a6a4
@@ -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,
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user