Go to file
Evan You 9571ede84b refactor(watch): adjsut watch API behavior
BREAKING CHANGE: `watch` behavior has been adjusted.

    - When using the `watch(source, callback, options?)` signature, the
      callback now fires lazily by default (consistent with 2.x
      behavior).

      Note that the `watch(effect, options?)` signature is still eager,
      since it must invoke the `effect` immediately to collect
      dependencies.

    - The `lazy` option has been replaced by the opposite `immediate`
      option, which defaults to `false`. (It's ignored when using the
      effect signature)

    - Due to the above changes, the `watch` option in Options API now
      behaves exactly the same as 2.x.

    - When using the effect signature or `{ immediate: true }`, the
      intital execution is now performed synchronously instead of
      deferred until the component is mounted. This is necessary for
      certain use cases to work properly with `async setup()` and
      Suspense.

      The side effect of this is the immediate watcher invocation will
      no longer have access to the mounted DOM. However, the watcher can
      be initiated inside `onMounted` to retain previous behavior.
2020-02-17 23:16:58 -05:00
.circleci ci: bust cache 2019-12-20 10:59:21 -05:00
.github chore: add GitHub sponsor button config (#708) [ci skip] 2020-02-09 15:45:30 -05:00
.vscode workflow: support debug single jest test file in vscode (#360) 2019-10-23 11:20:05 -04:00
packages refactor(watch): adjsut watch API behavior 2020-02-17 23:16:58 -05:00
scripts build: support source map in build and dev scripts 2020-01-28 10:28:48 -05:00
test-dts refactor(watch): adjsut watch API behavior 2020-02-17 23:16:58 -05:00
.gitignore chore: add the yarn error log file to git ignore (#150) 2019-10-09 12:13:54 -04:00
.prettierrc init (graduate from prototype) 2018-09-19 11:35:38 -04:00
api-extractor.json chore: config comments 2019-09-03 12:17:33 -04:00
CHANGELOG.md release: v3.0.0-alpha.4 2020-01-27 16:20:00 -05:00
jest.config.js build: avoid runtime wildcard import in global build 2020-02-13 18:50:36 -05:00
LICENSE chore: license 2019-10-28 11:15:17 -04:00
package.json types: fix tsx dts tests 2020-02-15 21:48:45 -05:00
README.md chore: update readme [ci skip] 2020-01-02 18:40:43 -05:00
rollup.config.js types: fix tsx dts tests 2020-02-15 21:48:45 -05:00
tsconfig.json test(ssr): test for rendering components 2020-01-29 16:46:18 -05:00
yarn.lock build(deps): bump csstype from 2.6.8 to 2.6.9 (#722) 2020-02-15 17:42:46 -05:00

vue-next CircleCI

Status: Alpha.

The current codebase has basic feature parity with v2.x, together with the changes proposed in merged RFCs. There is a simple webpack-based setup with Single-File Component support available here.

At this stage, the only major work left is server-side rendering, which we are actively working on. In the meanwhile, we would like our users to start building small experimental apps using the alpha releases to help us identify bugs and stabilize the implementation.

Please note that there could still be undocumented behavior inconsistencies with 2.x. When you run into such a case, please make sure to first check if the behavior difference has already been proposed in an existing RFC. If the inconsistency is not part of an RFC, then it's likely unintended, and an issue should be opened (please make sure to use the issue helper when opening new issues).

Known Issues

  • There is currently no way to attach custom instance properties via Vue.prototype.

  • The current implementation requires native ES2015+ in the runtime environment and does not support IE11 (yet).

Contribution

See Contributing Guide.