convert automerge patches to a draft function for a solid store setter.
handle.on("change", payload => setStore(autoproduce(payload))) Copy
handle.on("change", payload => setStore(autoproduce(payload)))
the DocHandleChangePayload from handle.on("change")
handle.on("change")
a function that applies the patches to a draft, like the ones solid store setters pass you
convert automerge patches to a draft function for a solid store setter.