vue computed composition api
setup (props) {
const repositories = ref([])
const repositoriesMatchingSearchQuery = computed(() => {
return repositories.value.filter(
repository => repository.name.includes(searchQuery.value)
)
})
return {repositories}
}