react-principal
Version:
A state management with react context for apps which using hooks.
7 lines • 333 B
TypeScript
import React from "react";
declare function useContextWithObserve(context: React.Context<any>, initialState: object, nextObserveState?: any[]): any;
declare function calculateChangedBits(prev: {
[x: string]: any;
}, next: any): number;
export { calculateChangedBits, useContextWithObserve };
//# sourceMappingURL=observe.d.ts.map