UNPKG

motion-dom

Version:
11 lines (8 loc) • 312 B
import { createEffect } from '../utils/create-effect.mjs'; const propEffect = /*@__PURE__*/ createEffect((subject, state, key, value) => { return state.set(key, value, () => { subject[key] = state.latest[key]; }, undefined, false); }); export { propEffect }; //# sourceMappingURL=index.mjs.map