From 1d2dd70305bd25e7c8b997965d927c101d5dc0e2 Mon Sep 17 00:00:00 2001 From: Aaron Craelius Date: Wed, 12 Nov 2014 22:32:35 -0500 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index da96e45..f043eb4 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,16 @@ # freactive -Work in progress! - -## Overview - -The goal of this library is to provide some idioms for functional reactive +The idea of this library is to provide some idioms for functional reactive programming based on Clojure's already existing `deref`, `swap!` and `reset!` -patterns. +functions. Currently there are reactive `atom`, `rx` (reactive expressions or computations), `lens` +and `cursor` types. + +I started this library when I needed to write a fairly +large Clojure project in JavaFX (using my own [fx-clj](https://github.com/aaronc/fx-clj/)). +I was aware of [Om](https://github.com/swannodette/om) and [Reagent](https://github.com/reagent-project/reagent) +and figured I could create something along those lines by creating reactive atoms (as in Reagent) that interacted with JavaFX. +As I was doing this, I realized that a library with the same API could be created in ClojureScript and that also, +a DOM library with a similar API to the JavaFX library could be created. Example: ```clj