From 970ad1aca541382b2f37e56500f0ecbc2e3eb6f9 Mon Sep 17 00:00:00 2001 From: Reed Jones Date: Thu, 25 Jan 2018 08:34:43 -0700 Subject: [PATCH] Update axios URL Changed git repo from /mzabriskie/axios to /axios/axios --- en/universal.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/universal.md b/en/universal.md index 7a10715d..95ddf645 100644 --- a/en/universal.md +++ b/en/universal.md @@ -18,7 +18,7 @@ Another thing to note is that you should avoid code that produces global side ef Universal code cannot assume access to platform-specific APIs, so if your code directly uses browser-only globals like `window` or `document`, they will throw errors when executed in Node.js, and vice-versa. -For tasks shared between server and client but use different platform APIs, it's recommended to wrap the platform-specific implementations inside a universal API, or use libraries that do this for you. For example, [axios](https://github.com/mzabriskie/axios) is an HTTP client that exposes the same API for both server and client. +For tasks shared between server and client but use different platform APIs, it's recommended to wrap the platform-specific implementations inside a universal API, or use libraries that do this for you. For example, [axios](https://github.com/axios/axios) is an HTTP client that exposes the same API for both server and client. For browser-only APIs, the common approach is to lazily access them inside client-only lifecycle hooks.