Skip to content

Clarify components vs directives for AngularJS #764

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 9, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/v2/guide/comparison.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 他のフレームワークとの比較
updated: 2018-01-30
updated: 2018-03-09
type: guide
order: 801
---
Expand Down Expand Up @@ -145,7 +145,7 @@ AngularJS がスコープ間による双方向バインディングを使用し

### ディレクティブ vs コンポーネント

Vue はディレクティブとコンポーネントの間に明確な線引きをしています。ディレクティブは DOM の操作のみをカプセル化するように意図されている一方で、コンポーネントは自身のビューとデータロジックを持つ独立した構成単位です。AngularJS では、それらの間には多くの混乱があります
Vue はディレクティブとコンポーネントの間に明確な線引きをしています。ディレクティブは DOM の操作のみをカプセル化するように意図されている一方で、コンポーネントは自身のビューとデータロジックを持つ独立した構成単位です。AngularJS では、ディレクティブは全てを行い、コンポーネントはただの特定の種類のディレクティブに過ぎません

### 実行時性能

Expand Down