Questions tagged [om]

A ClojureScript interface to Facebook's React.

om allows their users to represent data as Extensible Data Notation (EDN).


Documentation

139 questions
0
votes
1 answer

Clojurescript + Om: wait for state change, then do something

I am trying to make a Clojurescript app that shows recipes. Relevant code follows (also available as a gist): (defn load-recipes [data] (go (if (not (:loaded? @data)) (let [recipes-data (
Michiel Borkent
  • 34,228
  • 15
  • 86
  • 149
0
votes
2 answers

clojurescript om - better way of rendering a table from a 2d vector

I'm new to Clojure/Clojurescript and Om and after a bit of a struggle, I came up with this way to render a table from a 2d vector: (def app-state (atom {:world [[1 2 1] [2 1 1] [1 2 1]]})) (defn cell [text] (om/component (dom/td nil…
dagda1
  • 26,856
  • 59
  • 237
  • 450
0
votes
0 answers

async update items on list from multiple channels

Here is what I'm trying to do: I'm doing an app that displays a list of events, when I create the event, the event is a core.async channels, what I want to do is, given the channel was first added it should read and them render that state (what's ok…
Wilker Lucio
  • 2,619
  • 2
  • 20
  • 11
0
votes
1 answer

What should go in my project.clj to run Om with Clojurescript?

I looked at the Github Om page but it is not clear which version I should be using?
yazz.com
  • 57,320
  • 66
  • 234
  • 385
1 2 3
9
10