UNPKG

@pionjs/pion

Version:

Hooks for web components

10 lines (9 loc) 353 B
import { State } from "./state"; /** * @function * @param {Effect} callback effecting callback * @param {unknown[]} [values] dependencies to the effect * @return {void} */ declare const useLayoutEffect: (callback: (this: State) => void | VoidFunction | Promise<void>, values?: readonly unknown[] | undefined) => void; export { useLayoutEffect };