Skip to content

[Content]: createRoot is missing the detachedOwner parameter #610

Open
@ivancuric

Description

@ivancuric

📚 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

Labels

in progressSomeone is currently working on the issue.solidRelated to core Solid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @ivancuric@amirhhashemi@LadyBluenotes

      Issue actions

        [Content]: `createRoot` is missing the `detachedOwner` parameter · Issue #610 · solidjs/solid-docs