Skip to content

Commit

Permalink
docs: Update SSR Docs for serializer options. (#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
Austio authored and Akryum committed Jul 16, 2019
1 parent 4b45aca commit 388dd2a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/api/ssr.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
```

0 comments on commit 388dd2a

Please sign in to comment.