Menu
HomeBlog
개발
블로그 개발트러블슈팅책 스터디연구/조사
프론트엔드
StyleJavaScriptTypeScriptReactVue.js
백엔드
데이터베이스PythonDjango
컴퓨터 공학
알고리즘정보처리기사
AI
Claude
개인
사회 공헌
useFunnel.ts
import { useState } from 'react';
export function useFunnel<T>() {
const [step, setStep] = useState<T>();
const Funnel = ( { children }) => {
return children.find(c => c.step === step);
};
return { Funnel, step,setStep };
}
Now
📖읽는 중: 클린 코드
🔬관심사: 서버 컴포넌트 패턴
✍️활동: 글또 10기
🎯목표: 오픈소스 기여
Projects
Git Animals★ 1K+
Na Lab1.3K users
Thumbnail Maker
Contributions
201 in 2025
Recent Commits
a3f2c1dfeat: add PWA manifest & service worker2h ago
b7e4a2ffix: hydration mismatch on useLocalStorage5h ago
d1c8e3brefactor: funnel step pattern with generics1d ago
e5a9f7cchore: update storybook to v82d ago