Overview of @primereact/hooks library
@primereact/hooks is a standalone library of React hooks designed to solve concrete problems (such as filtering lists, formatting numbers, or monitoring media queries) without rendering DOM elements or depending on PrimeReact components. It can be used in any React project (CRA, Vite, Next.js, Remix, React Native Web) and is fully typed with TypeScript. The library is SSR-safe, with DOM-touching hooks internally marked as 'use client'.