om

ClojureScript interface to Facebook's React

  • 所有者: omcljs/om
  • 平台:
  • 許可證:
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

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:

[org.omcljs/om "1.0.0-beta1"]

Maven dependency information:

<dependency>
  <groupId>org.omcljs</groupId>
  <artifactId>om</artifactId>
  <version>1.0.0-beta1</version>
</dependency>

Example

(ns example
  (:require [goog.dom :as gdom]
            [om.dom :as dom]
            [om.next :as om :refer [defui]]))

(defui Hello
  Object
  (render [this]
    (dom/h1 nil "Hello, world!")))

(def hello (om/factory Hello))

(.render 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 © 2013-2017 David Nolen

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

主要指標

概覽
名稱與所有者omcljs/om
主編程語言Clojure
編程語言HTML (語言數: 4)
平台
許可證
所有者活动
創建於2013-12-11 18:18:11
推送於2020-08-17 12:30:25
最后一次提交2020-04-10 21:35:01
發布數101
最新版本名稱1.0.0-beta4 (發布於 )
第一版名稱0.1.0 (發布於 )
用户参与
星數6.6k
關注者數260
派生數360
提交數2k
已啟用問題?
問題數683
打開的問題數67
拉請求數142
打開的拉請求數13
關閉的拉請求數76
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?