Fork me on GitHub
#nrepl
<
2019-10-30
>
pez07:10:08

Before I file an issue, I want to check if I’m misunderstanding something. When creating a fresh re-frame app with 10x, using the Leiningen template I get this events.cljs file:

(ns fresh-10x.events
  (:require
   [re-frame.core :as re-frame]
   [fresh-10x.db :as db]
   [day8.re-frame.tracing :refer-macros [fn-traced defn-traced]]
   ))

(re-frame/reg-event-db
 ::initialize-db
 (fn-traced [_ _]
   db/default-db))

(re-frame/reg-event-db
 ::set-active-panel
 (fn-traced [db [_ active-panel]]
   (assoc db :active-panel active-panel)))
Requesting info on this namespace (`fresh-10x.events`) gives back a response with an empty file entry (an empty array, as it happens). But if I add (def foo 42) to the file, then the info op resolves the file path. What gives?

bozhidar09:10:10

> the code quoted just creates the main session thread, right?