Dustin Getz
Dustin Getz
Test case used in video: ``` [:div {:class class} [hyperfiddle.ui/table (fn [ctx] [(hyperfiddle.ui/field [0 :reg/email] ctx (comp str deref)) (hyperfiddle.ui/field [0 :reg/birthdate] ctx (comp pr-str deref)) (hyperfiddle.ui/field [0 :reg/gender] ctx...
What platform, JVM? Can you demonstrate it? Please confirm this is under clojure.test integration only (`{:jvm-opts ["-Dhyperfiddle.rcf.generate-tests=true"]}`), cannot reproduce without that flag?
Can you reproduce using the flag locally outside of CI? What CI provider, github actions?
See https://clojurians.slack.com/archives/C7Q9GSHFV/p1688040336095859?thread_ts=1688031756.398229&cid=C7Q9GSHFV
In the [TodoMVC demo](https://gist.github.com/dustingetz/2c1916766be8a61baa39f9f88feafc44), code-wise it's just a regular old TodoMVC but if you run in two tabs it stays in sync
Transactional vs conflict-free is a userland choice; streaming a mouse coordinate signal, for example, is not transactional. If userland wants to write to a shared reference, you'll need to provide...
Take the demo-chat for example - if two users send a message at the same time, the atom serializes the events and they race. https://github.com/hyperfiddle/electric/blob/master/src-docs/user/demo_4_chat.cljc#L27
This is all but solved by a convention of "calling all p/fns from the server"; we have been running with a server-based entrypoint for months now and the pain has...
Full solution (colorless lambdas) is understood and on the roadmap; in the meantime the partial solution (call all electric fns from the server) has in practice eliminated the issue in...