UNPKG

@bytedance/mona-client-mini

Version:

miniapp for mona

10 lines (9 loc) 460 B
import ServerElement from './ServerElement'; export declare const genCbName: (propKey: string, node: ServerElement) => string; export declare function processProps(props: Record<string, any>, node: ServerElement): Record<string, any>; /** * 2 situations that need to be updated * 1. new not owned, old owned。 * 2. new !== old */ export declare function diffProperties(oldProps: Record<string, any>, newProps: Record<string, any>): Record<string, any>;