Replies: 1 comment 9 replies
-
Can you explain why it could not be in the effect? |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I run into an issue with the correct usage of Effects with elf.
Here is a basic example of my effect:
Then i use it elsewhere like that:
Now in the usage of the effect I have no observable to reuse. In this example, I want to redirect the user to another page. But i don't want to do that directly in the effect because I want to decide that in the usage of the effect.
I'm looking for something like that:
Can anyone help?
Beta Was this translation helpful? Give feedback.
All reactions