UNPKG

repond

Version:

respond to items state in realtime

11 lines (10 loc) 1.39 kB
export { whenSettingStates } from "./helpers/runWhens"; export * from "./declarations"; export * from "./types"; export { initRepond } from "./usable/create"; export { applyPatch, applyPatchHere, combineDiffs, combinePatches, combineTwoDiffs, combineTwoPatches, getDiff, getDiffFromPatches, getPatch, getPatchAndReversed, getPatchesFromDiff, getReversePatch, makeEmptyDiff, makeEmptyPatch, makeMinimalPatch, removePartialPatch, } from "./usable/patchesAndDiffs"; export { useStore, useStoreEffect, useStoreItem } from "./usable/hooks"; export { addItem, getPrevState, getRefs, getState, removeItem, setState, setNestedState, onNextTick, getItemWillBeAdded, getItemWillBeRemoved, getItemWillExist, getPartialState, applyState, getItemTypes, getItemIds, } from "./usable/getSet"; export { initEffectGroups, makeEffect, makeEffects, runEffect, runEffectsGroup, startAllEffectsGroups as startAllEffectGroups, startEffect, startEffectsGroup, startNewEffect, stopAllEffectsGroups as stopAllEffectGroups, stopEffect, stopEffectsGroup, } from "./usable/effects"; export { makeParamEffects, startParamEffectsGroup, runParamEffect, initParamEffectGroups, runParamEffectsGroup, startParamEffect, stopParamEffect, stopParamEffectsGroup, } from "./usable/paramEffects"; export { makeNestedEffectsMaker, makeEffectsMaker, makeLeaveEffectsMaker, makeNestedLeaveEffectsMaker, } from "./usable/effectsMakers";