This is an Om Next re-creation of the flux-chat project provided by Facebook as an example of Flux, their architecture for building user interfaces with React.
Om Next is a forthcoming new version of Om, a ClojureScript interface to React. It is currently under active development and is therefore changing rapidly.
This project is based on Om Next as per release 1.0.0-alpha24 of the Om project. Please note that it is possible that the APIs for Om Next will change in subsequent versions.
Clone this project and run the following command from its root directory:
lein run -m clojure.main script/figwheel.clj
Then open your browser at localhost:3449.
The project fully re-creates the UI of the flux-chat example. The only known difference is that when a new message is posted to a thread, the text and time of the last message are updated in the thread list on the left side of the screen. In flux-chat they are not updated (it is only an example!) but I found that this functionality was pretty much automatically provided due to the global application state of Om Next.
One of the purposes of flux-chat is to show how flux actions can call a Web API to retrieve/update data. This interaction with a server API is not yet fully represented in my Om Next project, but I intend to add this in due course.
See the file LICENSE.txt in the root directory of this project.