score:2

Accepted answer

observablehq loads the standard library, which provides the invalidation method. according to the documentation, invalidation is...

a promise that resolves when the current cell is re-evaluated: when the cell’s code changes, when it is run using shift-enter, or when a referenced input changes.

this notebook explains it in details: https://observablehq.com/@observablehq/invalidation


Related Query

More Query from same tag