om-next

vinnyataide 2017-09-19T06:27:02.000032Z

Is there a FAQ teaching how to speedup js compiling with om? Mine is barebones with om and compassus and is taking 60secs to compile >.<

vinnyataide 2017-09-19T18:21:42.000359Z

Hello! I have a state

(defonce app-state (atom {:navbar
                          {:active false
                           :current-user "vinny"}}))
A root query
static om/IQuery
(query [this]
    `[{:navbar ~(om/get-query Navbar)}])
a Navbar query
static om/IQuery
  (query [this]
    '[:current-user])
I have the navbar from props already
{:keys [factory props]} (om/get-computed this)
          {:keys [navbar]} (om/props this)
why when I log it, it comes with the active key too?
{:active false, :current-user vinny}

vinnyataide 2017-09-19T18:23:35.000062Z

can someone help me?