Create an automerge document from a POJO
The type of the value passed to from and the type the resulting document will contain
from
The initial state which will be copied into the document
Optional
const doc = automerge.from({ tasks: [ {description: "feed dogs", done: false} ]}) Copy
const doc = automerge.from({ tasks: [ {description: "feed dogs", done: false} ]})
Create an automerge document from a POJO