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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user