-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Composition API in-depth guide #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Lifecycle HooksI think it's worth mentioning about lifecycle hook usage, and describe how magically it works inside Reactivity UtilitiesI think it would be nice to have section for Reactivity Utilities and Advanced Reactivity APIs. I think these are too detailed to include in section such as "Reactive state with Or maybe those are going to be listed in API reference, and have link in the each section...? (like "learn more advanced usage at page". |
@kiaking thanks! Lifecycle hooks added Utilities and Advanced APIs mentioned in the API Reference . Do you think it's worth adding a section covering |
Roger about APIs mentioned in API Reference.
I think it would be nice to have. But not sure if we should add those at this stage. It might also suit more at examples or cookbook. So, my opinion is not to add advanced use-cases at this stage. I think we can come back later with those 👍 |
The outline looks good to me! Will try to contribute to at least a few points. I think that some of the Reactivity Utilities could be incorporated into the in-depth Composition API guide, but the Advanced Reactivity APIs are likely too niche to add them smoothly. Instead, I think we should just have a note in the guide when showing the |
Thanks so much for outlining this @NataliaTepluhina. I'll take the lead on this one and let everyone know when we have a draft to review. For anyone else who sees anything we can add to the guide, please comment on the issue and I'll be sure to track it! |
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()
setup()
parametersref
andreactive
reactive
torefs
Please keep in mind this is very rough draft and I would be happy to add any fixes/improvements to it
The text was updated successfully, but these errors were encountered: