From ccf1b33e01bf54bc60a35cf849295243f9134895 Mon Sep 17 00:00:00 2001 From: Abhishek Jain <01abhishekjain@gmail.com> Date: Thu, 7 Sep 2017 20:39:10 +0530 Subject: [PATCH] Update components.md Make language consistent with the rest of the doc by changing "I" to "us". --- src/v2/guide/components.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/v2/guide/components.md b/src/v2/guide/components.md index 78cc79d1ad..30baca0e04 100644 --- a/src/v2/guide/components.md +++ b/src/v2/guide/components.md @@ -1282,9 +1282,9 @@ However, if you're requiring/importing components using a __module system__, e.g Failed to mount component: template or render function not defined. ``` -To explain what's happening, I'll call our components A and B. The module system sees that it needs A, but first A needs B, but B needs A, but A needs B, etc, etc. It's stuck in a loop, not knowing how to fully resolve either component without first resolving the other. To fix this, we need to give the module system a point at which it can say, "A needs B _eventually_, but there's no need to resolve B first." +To explain what's happening, let's call our components A and B. The module system sees that it needs A, but first A needs B, but B needs A, but A needs B, etc, etc. It's stuck in a loop, not knowing how to fully resolve either component without first resolving the other. To fix this, we need to give the module system a point at which it can say, "A needs B _eventually_, but there's no need to resolve B first." -In our case, I'll make that point the `tree-folder` component. We know the child that creates the paradox is the `tree-folder-contents` component, so we'll wait until the `beforeCreate` lifecycle hook to register it: +In our case, let's make that point the `tree-folder` component. We know the child that creates the paradox is the `tree-folder-contents` component, so we'll wait until the `beforeCreate` lifecycle hook to register it: ``` js beforeCreate: function () {