Here you create the task and assign the id that relies on the current application state nextTaskId. You could avoid it using some library like uuid or cuid or even write it yourself.
function randomId(){
return Math.random().toString(36).substr(2, 9);
}
https://github.com/peterkarnaukhsite/vue-kanban-hierarchical/blob/05dc4f76981778966ee8f1c57c0e496f443411cd/src/store/index.js#L58
Here you create the task and assign the id that relies on the current application state
nextTaskId
. You could avoid it using some library likeuuid
orcuid
or even write it yourself.In this case you can omit the
nextTaskId