omcljs/om

Name: om

Owner: omcljs

Description: ClojureScript interface to Facebook's React

Created: 2013-12-11 18:18:11.0

Updated: 2018-01-21 13:50:47.0

Pushed: 2017-11-09 18:21:44.0

Homepage: null

Size: 2163

Language: Clojure

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Om

A ClojureScript UI framework and client/server architecture over Facebook's React.

Om UIs are out of the box snapshotable and undoable and these operations have no implementation complexity and little overhead.

Om borrows ideas liberally from Facebook's Relay and Netflix's Falcor with a dash of inspiration from Datomic pull syntax to avoid the typical incidental complexity that arises from client/server state management.

Dependency Information

Latest release: 1.0.0-beta1

Leiningen and Boot dependency information:

.omcljs/om "1.0.0-beta1"]

Maven dependency information:

endency>
roupId>org.omcljs</groupId>
rtifactId>om</artifactId>
ersion>1.0.0-beta1</version>
pendency>
Example
example
require [goog.dom :as gdom]
        [om.dom :as dom]
        [om.next :as om :refer [defui]]))

ui Hello
ject
ender [this]
(dom/h1 nil "Hello, world!")))

 hello (om/factory Hello))

nder js/ReactDOM (hello) (gdom/getElement "example"))
Tutorials

There is an Quick Start tutorial that will introduce you to the core concepts of Om here. There are also a variety of other guides here.

Documentation

There is documentation here

Contributing

Please contact me via email to request an electronic Contributor Agreement. Once your electronic CA has been signed and returned to me I will accept pull requests.

Community

If you are looking for help please get in touch either on the clojurians.slack.com #om channel or the om-cljs Google Group.

References
Copyright and license

Copyright © 2013-2017 David Nolen

Licensed under the EPL (see the file epl.html).


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.