refactor(runtime-core): adjust patchProp value arguments order

BREAKING CHANGE: `RendererOptions.patchProp` arguments order has changed

  The `prevValue` and `nextValue` position has been swapped to keep it
  consistent with other functions in the renderer implementation. This
  only affects custom renderers using the `createRenderer` API.
This commit is contained in:
Evan You
2020-03-09 16:15:49 -04:00
parent cd34603864
commit ca5f39ee35
4 changed files with 13 additions and 13 deletions

View File

@@ -4,8 +4,8 @@ import { isOn } from '@vue/shared'
export function patchProp(
el: TestElement,
key: string,
nextValue: any,
prevValue: any
prevValue: any,
nextValue: any
) {
logNodeOp({
type: NodeOpTypes.PATCH,