regularJSObject=({a:1,b:2,c:3})// parentheses required when creating objects like this in Observable
newObject=immer.produce(regularJSObject,draft=>{
draft.c=4;
})
newObject.c
regularJSObject.c
newerObject=immer.produce(newObject,draft=>{
draft.d=5;
})
newerObject.d
newObject.d
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.