Open
Description
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
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
titoBouzout commentedon Feb 21, 2024
If you know the answer to these questions a PR for this file would be welcome https://github.com/solidjs/solid-docs-next/blob/main/src/routes/reference/reactive-utilities/create-root.mdx
chore: prepare release `0.13.0` (solidjs#393)
amirhhashemi commentedon Apr 27, 2025
I asked these questions on Discord and received good responses. I will move them to the documentation.