Is it good practice to use conditionals in effect-handlers? For Example: If a value is present in app-db, then emit one effects map and if not, do another?
Haha, true never used it before. 😄 will have a look at it.
You're mixing something up. Did you mean "event handlers" in the first sentence? If so, then it's a perfectly valid thing to do.
Yeah, of course, sry
Thanks for the answer
Another question: When I have a component called
my-component whats the difference between me calling it like a normal function
(my-component) and including it with the vector notation
I'm guessing the function call has the downside of accidental execution, but I can't find any more info on this.
Yes indeed, thank you :thumbsup: