what is the recommended way to handle event listeners in re-frame? I use Firestore as backend, which works like having multiple websockets running. Listeners need to be setup and teared down dynamically
> Listeners need to be setup and teared down dynamically
Effects are the best place to do that.
Other than that, you just dispatch
on some events and change your app-db
appropriately so that the relevant subscriptions can derive their values and notify the views.
mm ok