import { useState } from "react"; /** * * @kind 06-Lifecycle */ export const useWillMount = (callback: VoidFunction) => { useState(callback); };