@zedux/atoms
Version:
A Molecular State Engine for React
23 lines (22 loc) • 778 B
TypeScript
/**
* The EdgeFlags. These are used as bitwise flags.
*
* The flag score determines job priority in the scheduler. Scores range from
* 0-7. Lower score = higher prio. Examples:
*
* 0 = implicit-internal-dynamic
* 3 = explicit-external-dynamic
* 7 = explicit-external-static
*
* IMPORTANT: Keep these in-sync with the copies in the react package -
* packages/react/src/utils.ts
*/
export declare const Explicit = 1;
export declare const External = 2;
export declare const Static = 4;
/**
* Compare two arrays and see if any elements are different (===). Returns true
* by default if either array is undefined
*/
export declare const haveDepsChanged: (prevDeps?: any[] | undefined, nextDeps?: any[] | undefined) => boolean;
export declare const prefix = "@@zedux";