This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-14
Channels
- # adventofcode (36)
- # announcements (5)
- # atom-editor (2)
- # babashka (19)
- # beginners (98)
- # biff (7)
- # calva (25)
- # cider (1)
- # cljdoc (10)
- # clojure (70)
- # clojure-czech (1)
- # clojure-dev (14)
- # clojure-europe (79)
- # clojure-nl (1)
- # clojure-norway (8)
- # clojure-seattle (3)
- # clojure-uk (2)
- # clojurescript (28)
- # community-development (44)
- # core-typed (3)
- # cursive (2)
- # datalevin (5)
- # datascript (5)
- # datomic (1)
- # dev-tooling (12)
- # emacs (14)
- # honeysql (3)
- # humbleui (11)
- # introduce-yourself (1)
- # java (1)
- # kaocha (1)
- # lsp (3)
- # malli (21)
- # matcher-combinators (2)
- # nbb (7)
- # off-topic (15)
- # portal (12)
- # reitit (4)
- # releases (1)
- # shadow-cljs (59)
- # sql (8)
- # tree-sitter (3)
Bit of a specific question, but Iām shuttling datoms over the wire and initializing DataScript using d/conn-from-datoms
. I keep getting this error in the Browser console:
Uncaught ReferenceError: sb__40960__auto__ is not defined
at me$tonsky$persistent_sorted_set$from_sorted_array (persistent_sorted_set.cljs:924:39)
at Function.cljs$core$IFn$_invoke$arity$2 (db.cljc:808:24)
at datascript$db$init_db (db.cljc:796:1)
at Function.cljs$core$IFn$_invoke$arity$2 (core.cljc:453:35)
at datascript$core$conn_from_datoms (core.cljc:450:1)
at my_app$store$init_BANG_ (store.cljs:87:20)
at re_frame$fx$do_fx_after (fx.cljc:59:23)
at re_frame$interceptor$invoke_interceptor_fn (interceptor.cljc:70:6)
at re_frame$interceptor$invoke_interceptors (interceptor.cljc:108:24)
at re_frame$interceptor$execute (interceptor.cljc:201:8)
Some things to note:
1. All datoms are being exported from a DataHike database
2. All datoms have the same tx-idThey should be. I am splitting the DataHike datoms into vectors, shipping those vectors to the browser via an AJAX call, and then instantiating them into DS datoms using datascript.core/datom