Files
NapCatQQ/.pnpm-store/v3/files/37/9e88cf244ca41cfb21a5cd9e627fc08551b57962a8f62824292aac92ce476f7e023cfe63204ee0384eba61d9f0c4df3d692ebaabc5c857775bee9215456fd4
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

22 lines
485 B
Plaintext

/**
* A hook that returns true if the component is mounted on the client (hydrated)
* and false when rendering on the server.
*
* @example
* ```jsx
* function Component() {
* const isHydrated = useIsHydrated()
*
* if (!isHydrated) {
* return <div>Loading...</div>
* }
*
* return <div>Client rendered content</div>
* }
* ```
* @returns boolean indicating if the component is hydrated
*/
declare function useIsHydrated(): boolean;
export { useIsHydrated };