Module

x/fresh/src/dev/deps.ts>Node#forget

The next-gen web framework.
Extremely Popular
Go to Latest
method Node.prototype.forget
import { Node } from "https://dotland.deno.dev/x/fresh@1.1.5/src/dev/deps.ts";

Releases the node and all its descendants from the underlying node cache and ast.

This is useful if you want to improve the performance of manipulation by not tracking this node anymore.