-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Labels
contentIssues / PRs related to docs contentIssues / PRs related to docs content
Description
The return type of useId()
in the docs is only string
, however, the actual return type according to runtime-core.d.ts
is string | undefined
. Is this intentional or is it not correct in the docs?
I suppose that undefined
is there in case the function is called outside a component, isn't it?
tobychidi and mlmoravek
Metadata
Metadata
Assignees
Labels
contentIssues / PRs related to docs contentIssues / PRs related to docs content