vue3-yuanma/packages
Evan You 6b10f0cd1d refactor: remove implicit reactive() call on renderContext
reference: https://github.com/vuejs/rfcs/issues/121

BREAKING CHANGE: object returned from `setup()` are no longer implicitly
passed to `reactive()`.

  The renderContext is the object returned by `setup()` (or a new object
  if no setup() is present). Before this change, it was implicitly passed
  to `reactive()` for ref unwrapping. But this has the side effect of
  unnecessary deep reactive conversion on properties that should not be
  made reactive (e.g. computed return values and injected non-reactive
  objects), and can lead to performance issues.

  This change removes the `reactive()` call and instead performs a
  shallow ref unwrapping at the render proxy level. The breaking part is
  when the user returns an object with a plain property from `setup()`,
  e.g. `return { count: 0 }`, this property will no longer trigger
  updates when mutated by a in-template event handler. Instead, explicit
  refs are required.

  This also means that any objects not explicitly made reactive in
  `setup()` will remain non-reactive. This can be desirable when
  exposing heavy external stateful objects on `this`.
2020-01-27 16:00:18 -05:00
..
compiler-core test: update snapshots for toDisplayString 2020-01-27 16:00:18 -05:00
compiler-dom release: v3.0.0-alpha.3 2020-01-22 11:10:30 -05:00
compiler-sfc test: update snapshots for toDisplayString 2020-01-27 16:00:18 -05:00
compiler-ssr chore: fix ssr compiler version 2020-01-27 16:00:18 -05:00
reactivity wip(ssr): revert reactivity ssr paths 2020-01-27 16:00:18 -05:00
runtime-core refactor: remove implicit reactive() call on renderContext 2020-01-27 16:00:18 -05:00
runtime-dom wip(ssr): initial work on server-renderer 2020-01-27 16:00:17 -05:00
runtime-test refactor: adjust createApp related API signatures 2020-01-27 16:00:17 -05:00
server-renderer wip(ssr): escape helpers 2020-01-27 16:00:18 -05:00
shared wip(ssr): escape helpers 2020-01-27 16:00:18 -05:00
size-check release: v3.0.0-alpha.3 2020-01-22 11:10:30 -05:00
template-explorer release: v3.0.0-alpha.3 2020-01-22 11:10:30 -05:00
vue refactor: adjust createApp related API signatures 2020-01-27 16:00:17 -05:00
global.d.ts wip(ssr): render real components 2020-01-27 16:00:17 -05:00