API de composição computada VUE

  setup (props) {
    const repositories = ref([])

    const repositoriesMatchingSearchQuery = computed(() => {
      return repositories.value.filter(
        repository => repository.name.includes(searchQuery.value)
      )
    })
    
    return {repositories}
  }
astarrh