UNPKG

@blabbing/signals

Version:

A reactive state management tool

11 lines (10 loc) 219 B
import { produce as p } from "immer"; import { nothing as g } from "immer"; import { swap as t, get as e } from "@blabbing/signals"; const f = (o, r) => { t(o, p(e(o), r)); }; export { g as nothing, f as patch };