UNPKG

react-principal

Version:

A state management with react context for apps which using hooks.

8 lines 390 B
import React from "react"; declare function useObserveContext<T>(context: React.Context<T>): T; declare function calculateChangedBits(prev: { [x: string]: any; }, next: any): number; declare function createObserveContext<T extends object>(defaultValue: T): React.Context<T>; export { calculateChangedBits, useObserveContext, createObserveContext }; //# sourceMappingURL=observe.d.ts.map