Skip to content

Composition API in-depth guide #119

Closed
@NataliaTepluhina

Description

@NataliaTepluhina

We already have Composition API basics document (thanks @shentao !) but we also need to have an in-depth guide similar to what we have for Components In-Depth. While working on it, we could move part of the descriptions from Composition API reference and Reactivity APIs as they're waaaay too detailed for API reference.

Here is a rough structure of the section:

  • setup()
    • props and context as setup() parameters
  • Reactive state with ref and reactive
    • Template refs
    • Destructuring reactive to refs
  • Computed and watchers (maybe we'd need to split this to separate chapters as watchers will contain a lot of info)
  • Lifecycle hooks
  • Provide/inject in the Composition API

Please keep in mind this is very rough draft and I would be happy to add any fixes/improvements to it

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions