Commit Graph

26 Commits

Author SHA1 Message Date
Dan Holmsand 3c2c63402e Breaking change: Allow arbitrary arguments to component functions
Previously, the first argument had to be a map, and the rest of the
arguments where passed as a vector as the second argument.

Now [my-comp foo...] generally behaves as (my-comp foo...).

Since `this` is no longer passed to component functions, add
current-component function.

Also change signatures of React callbacks, to reflect that arbitrary
arguments can be passed.

Remove set-props and replace-props for the same reason.

Add argv accessor and set-args instead.
2014-02-08 13:55:01 +01:00
Dan Holmsand e8b108ea5e Version 0.3.0 2014-02-03 14:54:01 +01:00
Dan Holmsand 581cbf84be Update to ClojureScript 2156 2014-02-03 14:40:37 +01:00
Dan Holmsand eb381f13bb Start experimenting with batched rendering with requestAnimationFrame 2014-01-27 13:37:59 +01:00
Dan Holmsand 68da921e35 Version 0.2.1 2014-01-26 09:51:36 +01:00
Dan Holmsand 23a5f80197 Fix test-running under advanced compilation
Turns out that clojurescript.test breaks unless the test
directory is included first, but only with advanced compilation
and only on the first run...
2014-01-25 17:02:58 +01:00
Dan Holmsand f3e4c7f6b0 Version 0.2.0 2014-01-24 11:40:15 +01:00
Dan Holmsand 4596244c3b Simplify project.clj 2014-01-17 16:00:42 +01:00
Dan Holmsand 44f20f94e0 Rename the cloact directory as well 2014-01-17 11:24:03 +01:00
Dan Holmsand 8e542292a2 Cloact -> Reagent 2014-01-17 11:12:11 +01:00
Dan Holmsand 69b54410aa Version 0.1.0 2014-01-10 14:03:47 +01:00
Dan Holmsand 94cdfd6a2f Move demo to separate directory 2014-01-10 11:49:36 +01:00
Dan Holmsand 7bbe917285 Breaking change: Require react.js to be included separately
This makes the project.clj a little messier, but makes it a lot
easier to use a different version or a custom build of React.
2014-01-10 11:10:09 +01:00
Dan Holmsand b93f48ba47 Clean project.clj up 2014-01-07 20:04:49 +01:00
Dan Holmsand 2c2dca026c Generate demo page 2014-01-05 11:16:01 +01:00
Dan Holmsand 30f9681d4e Update clojurescript 2014-01-02 11:17:50 +01:00
Dan Holmsand 8bd03a8b36 Simplify handling of state
Just compare new state with identical?, and forceUpdate if necessary
2013-12-20 19:01:58 +01:00
Dan Holmsand 2c9162271e Add readme 2013-12-19 13:11:14 +01:00
Dan Holmsand cfe97087e6 Version 0.0.3 2013-12-18 15:02:57 +01:00
Dan Holmsand c26d3550f4 Make test work with node 2013-12-18 12:14:57 +01:00
Dan Holmsand 6191a4c0bc Add some animation to todomvc 2013-12-17 22:25:11 +01:00
Dan Holmsand 59b3d9c69c Version 0.0.2 2013-12-17 20:10:03 +01:00
Dan Holmsand 239120954d Update dependencies 2013-12-17 15:29:02 +01:00
Dan Holmsand 9e5e38fbc7 Don't use ilookup for props, children, etc. 2013-12-17 12:59:21 +01:00
Dan Holmsand 7ebbdeaf66 Version 0.0.1 2013-12-16 23:22:54 +01:00
Dan Holmsand 12566ced7b Initial version 2013-12-16 23:19:36 +01:00