React Helmet
React 애플리케이션에서 HTML <head> 태그의 내용을 동적으로 관리할 수 있도록 도와주는 라이브러리
설치
npm install react-helmet-async
사용
-App.tsx
import { HelmetProvider } from 'react-helmet-async';
<HelmetProvider>
<App />
</HelmetProvider>
import { Helmet } from 'react-helmet-async';
function Home() {
return (
<>
<Helmet>
<title>안녕하세요</title>
</Helmet>
<h1>홈 화면</h1>
</>
);
}

React Icons
https://react-icons.github.io/react-icons/
React Icons
react-icons.github.io
설치
npm install react-icons --save'React' 카테고리의 다른 글
| [React] Recoil (0) | 2024.12.20 |
|---|---|
| [React] ApexCharts.js (0) | 2024.12.15 |
| [React] TanStack Query(React Query) (0) | 2024.12.10 |
| [React] React with Typescript (0) | 2024.12.05 |
| [React] 컴포넌트 최적화(1) : useMemo (0) | 2024.12.03 |