UNPKG

mobx-react-lite

Version:

Lightweight React bindings for MobX based on React 16.8+ and Hooks

5 lines (4 loc) 757 B
/// <reference types="react" /> export { IReactionTracking } from "./reactionCleanupTrackingCommon"; declare const addReactionToTrack: (reactionTrackingRef: import("react").MutableRefObject<import("./reactionCleanupTrackingCommon").IReactionTracking | null>, reaction: import("mobx").Reaction, objectRetainedByReact: object) => import("./reactionCleanupTrackingCommon").IReactionTracking, recordReactionAsCommitted: (reactionRef: import("react").MutableRefObject<import("./reactionCleanupTrackingCommon").IReactionTracking | null>) => void, resetCleanupScheduleForTests: () => void, forceCleanupTimerToRunNowForTests: () => void; export { addReactionToTrack, recordReactionAsCommitted, resetCleanupScheduleForTests, forceCleanupTimerToRunNowForTests };