Fork me on GitHub

when using Om are people doing all client side HTML generation (or largely I guess) or is there any kind “isomorphic” generate HTML on the server then bind to Om on the client?


In with a react native Navigator, I'm trying to change scene/screen in response to a click, but find I have to capture and rebinding *reconciler* etc, which doesn't seem right. Should the navigation be done inside om/transact! instead? or some other way?


What does ‘Object’ in (defui HelloWorld Object…) mean? What kind of language feature is that?


@vigneshm: it's a clojure thing. check out protocols and reify


Oh yea, I’ve read about the use of protocols and reify in previous version of ‘om’. But can’t quite figure out how Object is used here


Is ‘Object’ the protocol here?


Object == the Javascript Object, so AFAIK it's not a ClojureScript thing at all


I’ve been testing building an app using cljc to maximise testability. I’ve reached a point where it might help others.


take a look and let me know what you think. It should help people who want a full client/server setup (especially if you use datomic)


@steveb8n: Great! First next-app I’ve seen with a working datomic backend simple_smile


@steveb8n: Up and running with devcards in seconds. I like it


I have a situation where a root component calls a transaction mutating some part of the state it doesn't have in it's query which a sub component asks for. The problem is that the mutation initiated by the root leads to a re-read with the sub components query. Yet the sub component does not re-render with the new app-state, although it's query contains a key mentioned in my transaction. See


Is it right that I can give a child component only props (or a subset of props) the parent component received itself? Especially I can’t just give a map?


@akiel You should use om/get-query to include the child query in the parent's query for props. If you want to pass on something else, you can use om/computed, see


@smeister Thanks for the pointer to computed.


Are there any examples to do forms with input fields in I’m thinking about using a component for each input field doing all the validation and so on. I see only Davids Todo MVC example were he has one TodoItem Component which handles all the editing in local state.


@smeister: I added a comment to your gist.


Hi, can I set html attributes to component when I build it, but not inside render function?


@logcat: As far aus I understand it, you generate everything HTML related inside the render function.


@dnolen: the example I mentioned yesterday was wrong; I spent a little more time today with OM-543 and submitted


Finally was able to finalise to some alpha state. If you are into cross-platform development (ios + android + browser) and om-next, check this out. Any feedback are very welcome