This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-29
Channels
- # beginners (42)
- # boot (12)
- # cider (3)
- # cljs-dev (277)
- # cljsrn (44)
- # clojure (127)
- # clojure-austin (9)
- # clojure-austria (1)
- # clojure-brasil (14)
- # clojure-canada (1)
- # clojure-dev (22)
- # clojure-dusseldorf (1)
- # clojure-italy (4)
- # clojure-russia (24)
- # clojure-spec (33)
- # clojure-taiwan (1)
- # clojure-uk (21)
- # clojure-ukraine (8)
- # clojurescript (134)
- # core-async (41)
- # core-logic (8)
- # cursive (1)
- # datomic (3)
- # ethereum (1)
- # events (4)
- # funcool (1)
- # leiningen (12)
- # off-topic (21)
- # om (19)
- # onyx (45)
- # overtone (1)
- # parinfer (2)
- # pedestal (3)
- # proton (2)
- # re-frame (103)
- # reagent (48)
- # test-check (27)
- # untangled (51)
- # vim (3)
Is there any way to write to global state and then read the state back again the line after? Like keeping what could be component state globally instead. A feature like update-in for the global state would also work fine in this kind of case. Or am I doing it wrong? It would feel a bit complex to have component local state being synced with global state just once in a while..
@molstt: not sure what you're trying to achieve, but transact!
returns the result of the mutation
@molstt: probably not documented anywhere, feel free to add it to the wiki docs
Thanks!
@anmonteiro nice post!
thanks! appreciate it
btw @anmonteiro I鈥檝e signed the contributor agreement, in case you wanna merge the PR 馃槢
We discovered a problem in IE 11(Edge engine) or Edge browser with input fields when using Om/Next. The onChange event is not always firing on the input field when we specify a :value for the input field. Om/Next utilizes the requestAnimationFrame feature (or setTimeout) and that appears to be whats causing the issue with Edge. To work around this issue i switched to using the onInput event instead which is always fired. I have reported the problem to Microsoft under https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/9125100/
@jslavin is this your issue? https://github.com/omcljs/om/issues/704
I do notice the issue does not happen if i override the requestAnimationFrame raf with a function that directly calls the reconciler without delaying via set timeout or requestAnimationFrame functions
Nice post about incremental rendering 馃檪
Has anyone tried using clojure.spec definitions to generate query expressions?
I came up with a simple prototype of the idea. Seems to be possible. https://gist.github.com/olivergeorge/9d822447e4838092d07138ea51af5782
I'd love to see more "spec code as data" examples for a good approach.