- components/common/GlobalTooltip.jsx 신설 * document 전역 이벤트 위임으로 [title] / [data-tooltip] 자동 감지 * title 속성 일시 제거로 브라우저 기본 툴팁 억제, 포털 렌더 * data-tooltip-placement / data-tooltip-delay 옵션 지원 * scroll/resize/Escape/mousedown 시 자동 숨김 - Tooltip.jsx는 자식을 <span title=... data-...> 로 감싸는 단순 래퍼로 변경 - App.jsx 루트에 GlobalTooltip 마운트 - 이제 전 코드베이스의 title="..." 가 모두 커스텀 툴팁으로 렌더됨 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| public | ||
| src | ||
| .gitignore | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.