Dan Kersten
Dan Kersten
Given the above recovery modes, auto-reconnection logic could look something like this: ``` clj (go-loop [] (when-let [error (
I referred to token, but on the client side, the token is only used to look up the channel. Can use the channel directly (which has the added benefit that...
I don't think closing the results-channel (manually if you choose to do so, in the error handler) is a problem. If there are items still on it, iirc they are...
Thanks. There's no rush, none of my issues are blocking me, so whenever you get time is ok. I also meant to do a git-bisect on one of the other...
I'm not sure how useful it is, when it first segfaults, the stack trace is: ``` cr_signal_handler(int sig, siginfo_t * si, void * uap) (/path-to-cr/cr.h:1563) libpthread.so.0! (Unknown Source:0) ...my code...
@martinklepsch so essentially a similar idea to wrapping stateful components: https://github.com/Day8/re-frame/blob/master/docs/Using-Stateful-JS-Components.md That is, there's an inner and outer component. The outer component handles the subscriptions and passes them, as data,...
I personally like the simplicity of the existing way, as, I tend to use wrapped JS components where I convert vectors into calls to dispatch and I like the simplicity...
Regarding `db` being special, would the following be valid? (Using the "pairs" syntax, although olivergeorge makes a good case for alternative syntax) ```clojure (reg-event-fx :token (fn [{:keys [db]} [_ id]]...
Maybe something like this? ```clj (reagent.ratom/reaction (let [sub (subscribe [:magical-value])] (dispatch [:foo @sub]))) (r/reg-event-db :foo (fn [db [_ v]] (assoc db :magical-value v))) ``` That is, using `reagent.ratom/reaction` to dispatch...
The same thing is happening to me with 2.92 on Ubuntu 20.10