8000 more details on adoption strategy · vuejs/rfcs@03824e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 03824e8

Browse files
committed
more details on adoption strategy
1 parent 0b41928 commit 03824e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

active-rfcs/0000-function-api.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,9 @@ Therefore we are planning to provide two builds for 3.0:
801801

802802
In the standard build, `setup()` can be used alongside 2.x options. Note that `setup()` will be called before `data`, `computed` and `method` options are resolved - i.e. you can access values returned from `setup()` on `this` in these options, but not the other way around.
803803

804-
Current 2.x users can start with the standard build and progressively introduce the new API into their current codebase, without having to do a full migration all at once.
804+
Current 2.x users who wish to use the new API, but have a legacy application can start with the standard build and progressively introduce the new API into their current codebase, without having to do a full migration all at once.
805+
806+
2.x options compatibility in the standard build will be kept through the entire 3.x lifecycle. We may or may not remove some 2.x options in v4, but it depends on community feedback when that happens (which is going to be pretty far into the future). More importantly, even if we drop the options in the future, they can still be made available via userland plugins, since the two APIs work exactly the same internally.
805807

806808
### Common Options
807809

0 commit comments

Comments
 (0)
0