Fork me on GitHub
#nbb
<
2022-11-15
>
gdubs18:11:49

I'm hoping to use datascript from nbb. Using the clojure package via nbb.edn complains about the missing goog closure library. Looks like https://github.com/tonsky/datascript/blob/78fdf8ac2666ff013a60460085c64d32f9573d00/src/datascript/db.cljc#L3. So I'm guessing my best bet is to npm install datascript instead?

borkdude18:11:47

@gdwarner https://github.com/logseq/nbb-logseq is a spin-off from nbb which has datascript :)

👍 1
gdubs21:11:16

Taking a step back, if I want to call a simple cljs function from javascript without compiling it using something like shadow or cherry, can I use either nbb's loadFile function or something in SCI? In which case would I use either approach?