useIsFirstRenderstate
useIsFirstRender
NewSSR SAFEDetermines whether the current render is the initial mount.
$ pnpm dlx shadcn@latest add @byphongphan/use-is-first-renderRequires
@byphongphan in components.jsonuse-is-first-render.tsx
Loading preview...
Installation
$ pnpm dlx shadcn@latest add @byphongphan/use-is-first-renderRequires
@byphongphan in components.json