You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the :effect of an event can perform arbitrary side-effects.
It would probably be better if that was contained in some way. One approach would be a re-frame style of returning a map of "fx", but that has the downside of not being easily composable. The current leading thought is to pass in some sort of object for each "fx" desired, which is injected when called.
Currently, the
:effect
of an event can perform arbitrary side-effects.It would probably be better if that was contained in some way. One approach would be a re-frame style of returning a map of "fx", but that has the downside of not being easily composable. The current leading thought is to pass in some sort of object for each "fx" desired, which is injected when called.
e.g.
To discuss:
db
in the example above? (something conforming to some kind ofDb
protocol?)do!
? As areify
'dDb
?)The text was updated successfully, but these errors were encountered: