feature/vue3-async-await #832
No reviewers
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
2 Participants
Due Date
No due date set.
Blocks
#862 feature/vue3-make-workbox-debug-configurable
vikunja/frontend
Reference: vikunja/frontend#832
Loading…
Reference in New Issue
No description provided.
Delete Branch "dpschen/frontend:feature/vue3-async-await"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
By using async / await we can hopefully save some bytes for the modern build.
Also it makes the code more readable by removing a lot of indention.
Mostly I was going through all the async functions.
I might have found reasons for race conditions.
feature/vue3-async-awaitto wip: feature/vue3-async-awaitdc48d17576
to6cfb1e107d
6cfb1e107d
tob3774c3cfa
b3774c3cfa
to2aa4e09344
2aa4e09344
toc1139ae57d
c1139ae57d
to99d52eed2f
99d52eed2f
tofadc9f2e80
fadc9f2e80
tobf41f09ac1
57d00878fa
to7d07256ed1
7d07256ed1
to676ab1cb0a
9da4bc0853
to7f5f44d7f0
@ -153,2 +144,2 @@
this.$message.error(e)
})
async getAuthUrl() {
const { url } = this.migrationService.getAuthUrl()
Isn't there an
await
missing here?Yes! Good catch!
@ -71,6 +71,10 @@ import ListService from '@/services/list'
import {CURRENT_LIST} from '@/store/mutation-types'
import CreateEdit from '@/components/misc/create-edit.vue'
function timeout(ms) {
I feel like this function should go into some helper module.
Used
lodash.debounce
inc1078255fc
wip: feature/vue3-async-awaitto feature/vue3-async-await