#2StateEasy

useBoolean

useBoolean

useBoolean 훅을 직접 구현해보세요.

// TODO: implement useBoolean
function notImplemented(..._args: any[]): any {
  throw new Error('Not implemented');
}
export default notImplemented;
export const useBoolean = notImplemented;

Open browser consoleTests