Welcome! Please see the About page for a little more info on how this works.

+2 votes
in On-Prem by
edited by
(def edward 694891374557546)
(def db2 (:db-after (d/with test/datomic-db [[:db/add edward :google/display-name "a"]])))
  (= (d/entity test/datomic-db edward)
     (d/entity db2 edward))
  ; true

This breaks reactive programming semantics where, when db updates, (d/entity db x) updates but the result is = to the prior result and therefore continuous time reactive engines will skip downstream computation, reusing a buffered prior instance of the entity that is inconsistent with the latest db.

also see https://github.com/tonsky/datascript/issues/433

Please log in or register to answer this question.

Welcome to the Datomic Knowledgebase, where you can make features requests, ask questions and receive answers from other members of the community.
...