Published
Edited
Apr 12, 2022
Insert cell
Insert cell
{
let draft = immer.createDraft({ a: 1, b: { c: 2 } });
let obj = { b: draft.b };
obj.b.c = 1;
return immer.finishDraft(draft);
}
Insert cell
immer = require("immer")
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more