Open
Description
📚 Subject area/topic
/reference/reactive-utilities/create-root.mdx
📋 Page(s) affected (or suggested, for new content)
https://docs.solidjs.com/reference/reactive-utilities/create-root
📋 Description of content that is out-of-date or incorrect
The type signature of the function should be:
createRoot<void>(fn: RootFunction<void>, detachedOwner?: Owner | null | undefined): void
Instead it is:
function createRoot<T>(fn: (dispose: () => void) => T): T
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity