Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/xml_renderer/src/getKeyForNode.ts

An npm/browser module for easy matching XML and XPath to React Components and other stuff
Go to Latest
import * as xmlRenderer from "https://deno.land/x/xml_renderer@5.0.7/src/getKeyForNode.ts";

Functions

Utility function to generate a unique key for a given node. Is automatically used as the key prop in case you're using Registry.createReactRenderer, but you may find it useful in other scenarios too.