Dan Holmsand
dfd3e540f3
Use cljs.test
2015-01-31 23:09:42 +01:00
Dan Holmsand
99cc5ef506
Use source-map-timestamp
2015-01-30 17:09:24 +01:00
Dan Holmsand
0b97403d1b
Use cljsjs/react and require clojurescript >= 2740
...
This means that old style :preamble inclusion is deprecated.
2015-01-29 14:49:01 +01:00
Dan Holmsand
40f3392b95
Add support for pushing to reagent-project's doc site
2014-12-10 12:57:34 +01:00
Dan Holmsand
4776799039
Version 0.5.0-alpha
2014-12-10 12:39:30 +01:00
Dan Holmsand
2c2eb9960f
Use figwheel 0.1.7
2014-12-09 07:43:32 +01:00
Dan Holmsand
fc2c59c3e1
Add docs for create-element, and one-argument version
...
And add a fix for the benefit of Light Table
2014-12-07 20:26:29 +01:00
Dan Holmsand
b287b32860
Some code cleanup
2014-12-01 14:37:54 +01:00
Dan Holmsand
faddb83e2b
Fix extra pseudo-names
2014-11-30 12:09:23 +01:00
Dan Holmsand
17375490fe
Got site generation and tests working with advanced compilation
2014-11-29 23:26:42 +01:00
Dan Holmsand
bc89612a76
Fix site-generation and simplify title setting
2014-11-29 19:51:45 +01:00
Dan Holmsand
bffbae231d
Reorganize build, tests and doc site
...
Tests and doc site can now run without node, using only
"lein figwheel". Tests and site are then re-run automatically
whenever a source file changes.
The doc site is now generated into "outsite/public", and can be
copied into the "gh-pages" branch with "make build-gh-pages".
"make push-gh-pages" builds the doc site and pushes it upstream
to the gh-pages branch there.
Generation of html pages is now handled completely in
ClojureScript, loaded from "bin/gen-site.js".
Link handling is a bit simplified.
2014-11-29 18:30:24 +01:00
Dan Holmsand
d188be004e
Change links to point to reagent-project
2014-11-06 20:21:38 +01:00
Dan Holmsand
12d475fc62
Introduce render, render-to-string and render-to-static-markup
...
The new names correspond to changes in React in 0.12.0.
Both render-component and render-component-to-string are kept for
backward compatibility.
Call React.render etc to avoid deprecation warnings from React.
2014-11-06 11:34:51 +01:00
Dan Holmsand
2a52b6da8e
Use clojurescript 2342
...
Later versions won't work with Light Table yet
2014-10-29 11:17:57 +01:00
Dan Holmsand
a555484e9c
Version 0.4.3
2014-10-28 16:34:26 +01:00
Dan Holmsand
0d71356183
Update to react v0.11.2
2014-10-15 18:54:44 +02:00
Dan Holmsand
e1f9ae20c6
Update ClojureScript version
2014-09-14 10:56:12 +02:00
Dan Holmsand
f8ca11e767
Update clojurescript and cljsbuild
2014-04-09 16:50:49 +02:00
Dan Holmsand
41a687faa7
Add import-react macro
2014-04-09 16:50:15 +02:00
Dan Holmsand
6389a3889a
Add better javascript interop macros
2014-03-25 07:58:22 +01:00
Dan Holmsand
58dd46f4ae
More usage of interop macros
2014-03-14 12:28:10 +01:00
Dan Holmsand
23ae1661fe
Version 0.4.2
2014-03-06 13:27:49 +01:00
Dan Holmsand
e539069947
Allow on-change on controlled inputs to keep value unchanged
2014-02-28 12:55:20 +01:00
Dan Holmsand
e3a67043c9
Version 0.4.1
2014-02-22 08:50:27 +01:00
Dan Holmsand
b2294b5dea
Update clojurescript.test and cljsbuild
2014-02-22 08:23:44 +01:00
Dan Holmsand
908452c126
Be compatible with ClojureScript 0.0-2173: implement IAtom, ISwap,
...
IReset
2014-02-22 08:04:52 +01:00
Dan Holmsand
432592955f
Version 0.4.0
2014-02-21 16:31:30 +01:00
Dan Holmsand
ede45fcad2
Add news item for 0.4.0
2014-02-15 17:29:37 +01:00
Dan Holmsand
4882b51b64
Move react.js to vendor directory
2014-02-11 17:10:04 +01:00
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