use-render

Run a second render before the webcomponent render, ideal for collaborative work between shadowDOM and lightDOM

Modulo

import { useRender } from "@atomico/hooks/use-render";

Syntax

useRender(() => <input type="text" />, optionalArguments);

Example

Last updated