Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c08b8fc

Browse files
add note about two-way directives, linking to two-way filters example
1 parent c8f07cb commit c08b8fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/guide/migration.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ Directives have a greatly reduced scope of responsibility: they are now only use
653653
Some of the most notable differences include:
654654

655655
- Directives no longer have instances. This means there's no more `this` inside directive hooks. Instead, they receive everything they might need as arguments. If you really must persist state across hooks, you can do so on `el`.
656-
- Options such as `acceptStatement`, `deep`, `priority`, etc are all deprecated.
656+
- Options such as `acceptStatement`, `deep`, `priority`, etc are all deprecated. To replace `twoWay` directives, see [this example](#Two-Way-Filters-deprecated).
657657
- Some of the current hooks have different behavior and there are also a couple new hooks.
658658

659659
Fortunately, since the new directives are much simpler, you can master them more easily. Read the new [Custom Directives guide](custom-directive.html) to learn more.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /