is code posted in slack being collapsed by default ?
can you give an example
(om/app-state reconciler)
#object [cljs.core.Atom {:val {:navigation-point :project-page, :commons {:nav #object[cljs.core.async.impl.channels.ManyToManyChannel], :nav-mult #object[cljs.core.async.t_cljs$core$async31116]}, :navigation-data {:_title "Housing developer", :_params {:project-id "123", :project-name "project-test", :developer-name "phu-my-hung"}, :query-params nil}, :om.next/queries {#object[my-project.components.app.App] {:params {:dom-com/query [({:project/page [:project/name :project/description {:project/developer [:developer/name]}]} {:project/name "Erica"})]}}}, :dom-com/props {:project/page [{:project/name "Erica", :project/description "One is sure to enhance the dimensions of one’s desires, thoughts and spirits, while staying at Erica. It’s a classic mix of all that you were longing for in your dream house. It has meticulously designed spacious apartments with all the modern amenities in the thick of plush greenery which makes it a comfortable and cozy home. The residential apartments in Erica lets you reload unconditional bliss that leads to momentous way of living. Erica has lavish yet thoughtfully designed residences that carts comfort, content and care. Settle amidst life changing ambiance of this complex that gives you a chance to elevate your lifestyle for a lifetime. ", :project/developer {:developer/name "Eisha Group"}}]}, :om.next/tables #{}}}]
my-project.core=> (om/class->any reconciler my-project.components.app/App)
#object[my-project.components.app.App]
my-project.core=> (om/get-query (om/class->any reconciler my-project.components.app/App))
[:navigation-point {:dom-com/props [({:project/page [:project/name :project/description {:project/developer [:developer/name]}]} {:project/name "Erica"})]} :navigation-data]
my-project.core=>
my-project.core=> (om/get-query (om/class->any reconciler my-project.components.app/App))
[:navigation-point {:dom-com/props [({:project/page [:project/name :project/description {:project/developer [:developer/name]}]} {:project/name "Erica"})]} :navigation-data]
my-project.core=> (parser {:state (om/app-state reconciler)} (om/get-query (om/class->any reconciler my-project.components.app/App)))
"test ttt" {}
{:navigation-point :project-page, :dom-com/props {}, :navigation-data {:_title "Housing developer", :_params {:project-id "123", :project-name "project-test", :developer-name "phu-my-hung"}, :query-params nil}}
No, not in the backtics.
like this one
But you can post a code sinppet somehow
Those are collapsed
I think it's this - https://get.slack.help/hc/en-us/articles/204145658-Creating-a-Snippet
ok so we need to post it to gist or something like that then post a link here ?
Yup
thanks 😄
Or you can use gists as well if you prefer.
'code'
code