Published
Edited
Dec 6, 2020
1 star
Insert cell
md`# GUN, traced`
Insert cell
md`To trace the JavaScript version of GUN we can open an Observable document that's using it, such as the one mentioned at https://github.com/ArtemGr/gun/issues/4: https://observablehq.com/@artemgr/gundb.`
Insert cell
md`We attach the browser's debugger then and hit the run arrow on a respective Observable cell.`
Insert cell
md`GUN methods are defined on _Gun.chain_, so if we want to trace the _get_ method we'd look for "_Gun.chain.get = function_"
${await FileAttachment("trace-get-1.png").image()}`
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