We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is useful when doing a custom state succession mechanism, instead of om.core/update! on deep cursors.
For example:
(def ^:dynamic *ui-events-chan* (chan)) (defn post-event [type cursor param] (let [path (.-path cursor)] (put! *ui-events-chan* [type path param]))) (declare handle-event) (defn run-event-loop [root-cursor] (go-loop [] (om/update! root-cursor handle-event (<! *ui-events-chan*)) (recur))) (defn handle-event [app [type path param :as e]] (case type ; ... ))
The text was updated successfully, but these errors were encountered:
fixed in master 6ff8f57
Sorry, something went wrong.
No branches or pull requests
This is useful when doing a custom state succession mechanism, instead of om.core/update! on deep cursors.
For example:
The text was updated successfully, but these errors were encountered: