How would I specify the order the execution of @wire decorators in javascript in lwc.
My scenario:
check = false;
@wire(...)wireMethod1{
this.check = true;
}
if(this.check){
@wire(...)wireMethod2;
}
2 条评论
I'd like to have a conditional wire because it uses a variable (apart from this.check) which is set in wireMethod1