The measure() API
Measure the node layout without rendering it.
This functionality is useful if you want to get the node layout for further calculations.
import { } from "@takumi-rs/core";
import { } from "@takumi-rs/helpers/jsx";
const = new ();
const { , } = await (< ="text-xl">I'm a text node</>);
const { , } = await .(, { });Edit on GitHub
Last updated on