lobx-react
Version:
Lightweight React bindings for lobx based on React 16.8+ and Hooks
5 lines (4 loc) • 753 B
TypeScript
/// <reference types="react" />
export { ReactionTracking } from "./reactionCleanupTrackingCommon";
declare const addReactionToTrack: (reactionTrackingRef: import("react").MutableRefObject<import("./reactionCleanupTrackingCommon").ReactionTracking | null>, reaction: import("lobx").Listener, objectRetainedByReact: object) => import("./reactionCleanupTrackingCommon").ReactionTracking, recordReactionAsCommitted: (reactionRef: import("react").MutableRefObject<import("./reactionCleanupTrackingCommon").ReactionTracking | null>) => void, resetCleanupScheduleForTests: () => void, forceCleanupTimerToRunNowForTests: () => void;
export { addReactionToTrack, recordReactionAsCommitted, resetCleanupScheduleForTests, forceCleanupTimerToRunNowForTests };