Skip to content

Mention one-way binding in guide’s comparison with Angular #178

Closed
@roryokane

Description

@roryokane

The framework comparison page (src/guide/comparison.md) describes four ways that Vue is different from Angular 1. However, it doesn’t mention that Vue supports and defaults to one-way binding between components, while Angular only supports two-way binding.

I think readers would want to know about this difference. For example, this HN commenter who Evan replied to said he wouldn’t use Vue because it uses two-way binding. If the comparison had mentioned the use of one-way binding, people like him wouldn’t be put off.

You might say something like this. I’m not sure that this is accurate, though, as I have only ever used Angular:

  • While Angular uses two-way binding, Vue also supports, and defaults to, one-way binding between components. Using one-way binding makes the flow of data easier to reason about in large apps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions