-
Notifications
You must be signed in to change notification settings - Fork 26.5k
Closed as not planned
Description
Describe the problem that you experienced
Is there a guide on how effects should be used? Any help would be appreciated!
My team use that approaches:
protected readonly effect1 = effect(() => {
// do something
});
protected readonly effect2 = effect(() => {
// do something
});
is there any difference and advantage over:
constructor() {
effect(() => {
this.logic1();
this.logic2();
});
}
Metadata
Metadata
Assignees
Labels
No labels