Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: vuejs/docs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: scvnc/vuejs-docs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jan 14, 2023

  1. clarify restrictions on where composables can be invoked

    I have seen some vue developers interpret this section as: when calling composables in a `<script setup>` or `setup()` context, you must call them synchronously. This is good, however feel like we may need to be clear that composables also should only be called in `<script setup>` or `setup()` regardless of whether they are a/synchronously called, and for the reasons described later in the section.
    
    Composables should, in all cases, be called:
    
      1. in `<script setup>` or `setup()` hook
      2. synchronously
    scvnc committed Jan 14, 2023
    Configuration menu
    Copy the full SHA
    edb5ac5 View commit details
    Browse the repository at this point in the history
Loading