From 12330e8dbd26152bcc7eddec081b5f1d9de3a800 Mon Sep 17 00:00:00 2001 From: "smyshlyaev.s" Date: Fri, 4 Sep 2015 14:51:54 +0300 Subject: [PATCH] Fixed a typo --- source/guide/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/guide/faq.md b/source/guide/faq.md index c9c7f251cd..6351cc26bf 100644 --- a/source/guide/faq.md +++ b/source/guide/faq.md @@ -35,7 +35,7 @@ order: 16 2. Vue.js is much simpler than Angular, both in terms of API and design. You can learn almost everything about it really fast and get productive. - 3. Vue.js has better performance and is much, much easier to optimize, because it doesn't use dirty checking. Angular gets slow when there are a lot of watchers, because every time anything in the scope changes, all these watchers need to be re-evaluated again. Also, the digest cycle may have to run multiple times to "stabilize" if some watcher triggers antoerh update. Angular users often have to resort to esoteric techniques to get around the digest cycle, and in some situations there's simply no way to optimize a scope with a large amount of watchers. Vue.js doesn't suffer from this at all because it uses a transparent dependency-tracking observing system with async queueing - all changes trigger independently unless they have explicit dependency relationships. The only optimization hint you'll ever need is the `track-by` param on `v-repeat` lists. + 3. Vue.js has better performance and is much, much easier to optimize, because it doesn't use dirty checking. Angular gets slow when there are a lot of watchers, because every time anything in the scope changes, all these watchers need to be re-evaluated again. Also, the digest cycle may have to run multiple times to "stabilize" if some watcher triggers another update. Angular users often have to resort to esoteric techniques to get around the digest cycle, and in some situations there's simply no way to optimize a scope with a large amount of watchers. Vue.js doesn't suffer from this at all because it uses a transparent dependency-tracking observing system with async queueing - all changes trigger independently unless they have explicit dependency relationships. The only optimization hint you'll ever need is the `track-by` param on `v-repeat` lists. 4. Vue.js has a clearer separation between directives and components. Directives are meant to encapsulate DOM manipulations only, while Components stand for a self-contained unit that has its own view and data logic. In Angular there's a lot of confusion between the two.