Fork me on GitHub
#om-next
<
2017-09-19
>
vinnyataide06:09:02

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 >.<

vinnyataide18:09:42

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}

vinnyataide18:09:35

can someone help me?