diff options
Diffstat (limited to 'doc/development/fe_guide/axios.md')
-rw-r--r-- | doc/development/fe_guide/axios.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/development/fe_guide/axios.md b/doc/development/fe_guide/axios.md index f90a2b37a1c..876855b807c 100644 --- a/doc/development/fe_guide/axios.md +++ b/doc/development/fe_guide/axios.md @@ -6,9 +6,9 @@ info: To determine the technical writer assigned to the Stage/Group associated w # Axios -We use [Axios](https://github.com/axios/axios) to communicate with the server in Vue applications and most new code. +In older parts of our codebase using the REST API, we used [Axios](https://github.com/axios/axios) to communicate with the server, but you should not use Axios in new applications. Instead rely on `apollo-client` to query the GraphQL API. For more details, see [our GraphQL documentation](graphql.md). -In order to guarantee all defaults are set you *should not use Axios directly*, you should import Axios from `axios_utils`. +To guarantee all defaults are set you should import Axios from `axios_utils`. Do not use Axios directly. ## CSRF token |