Skip to content

Superficial docs for createRoot #393

@GiyoMoon

Description

@GiyoMoon

The docs for createRoot lack some important information.

  • Creating a root owner without accepting the dispose function in the callback creates an unowned root
  • What are the differences between an owned and unowned root? (or link to a page mentioning this, if it's explained somewhere else)
  • What is the detachedOwner property for? While there are typescript docs for it, it would still be very helpful to have some examples. It's currently not even mentioned in the docs.

This also applies to solidjs.com/docs.
Link to the current docs: https://docs.solidjs.com/references/api-reference/reactive-utilities/createRoot

Metadata

Metadata

Assignees

Labels

help wantedLooking for assistance on this issuein 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

Issue actions