Dan Holmsand
e055fbad26
Make Closure stop whining about "dangerous use of this in static method"
2014-01-28 20:18:19 +01:00
Dan Holmsand
f654c6663f
Make textarea, radio buttons and checkboxes async-friendly
...
And clean up code a little
2014-01-28 19:34:06 +01:00
Dan Holmsand
d1851d5a42
Allow dynamic id with hiccup-style classes
...
And id in props wins over static id.
Fixes #11
2014-01-28 18:00:15 +01:00
Dan Holmsand
8b4ec9fda6
Make managed inputs work better with async rendering
2014-01-28 17:23:39 +01:00
Dan Holmsand
f1bbd7d99e
Handle html5 history better
2014-01-27 22:30:42 +01:00
Dan Holmsand
4a537af429
Use prefixed requestAnimationFrames if available
2014-01-27 16:26:21 +01:00
Dan Holmsand
dfe0eb41d5
Batch updates properly by rendering parents before children
2014-01-27 16:17: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
f9d0b58af8
Allow data-* and aria-* attrs, pass string attrs as-is to React
2014-01-25 13:47:41 +01:00
Dan Holmsand
f3e4c7f6b0
Version 0.2.0
2014-01-24 11:40:15 +01:00
Dan Holmsand
8110b1aca8
Tweak demo and testing
2014-01-24 11:03:01 +01:00
Dan Holmsand
c23bb970e7
Make components look nicer in React's Chrome plugin
2014-01-24 11:02:27 +01:00
Dan Holmsand
969b63cd00
Add some copy
2014-01-22 08:40:04 +01:00
Dan Holmsand
97da42101a
Move all page handling to page.cljs
2014-01-21 11:50:08 +01:00
Dan Holmsand
f5c80e820e
Simplify link handling
2014-01-20 11:37:57 +01:00
Dan Holmsand
ebade509bf
Add permalink support
2014-01-20 10:46:51 +01:00
Dan Holmsand
702dd1a113
Add menu row
2014-01-20 09:43:45 +01:00
Dan Holmsand
d0abe25adf
Factor out link handling to common.cljs
2014-01-20 09:42:16 +01:00
Dan Holmsand
95389b6fde
Beep on generation error
2014-01-20 09:40:56 +01:00
Dan Holmsand
446e05adec
Move page generation to ClojureScript
2014-01-19 12:13:19 +01:00
Dan Holmsand
8fc6bf3e6e
Make todomvc look like it should
2014-01-19 10:34:12 +01:00
Dan Holmsand
0a0dbdee7d
Add simple undo demo
2014-01-19 10:25:16 +01:00
Dan Holmsand
ce9afb470c
Rename demoutil
2014-01-18 11:43:56 +01:00
Dan Holmsand
1d48785a42
Move intro into its own file
2014-01-18 11:31:43 +01:00
Dan Holmsand
4596244c3b
Simplify project.clj
2014-01-17 16:00:42 +01:00
Dan Holmsand
81a1cbcaed
Common code for demo in common.cljs
2014-01-17 15:22:49 +01:00
Dan Holmsand
01e2cf9f45
Start refactoring demo, to allow for multiple pages
2014-01-17 12:35:40 +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
e6db667c05
too -> two
...
Thanks to mattsonlyattack!
2014-01-11 18:24:46 +01:00
Dan Holmsand
8491eeb198
Add link to readme
2014-01-10 14:51:27 +01:00
Dan Holmsand
fb7310870a
Fix test-running in advanced compilation
2014-01-10 14:27:59 +01:00
Dan Holmsand
69b54410aa
Version 0.1.0
2014-01-10 14:03:47 +01:00
Dan Holmsand
7f8d06eff1
Updated readme
2014-01-10 13:59:38 +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
3a943b0ad2
Try to make site look at least decent on mobile
2014-01-09 18:04:12 +01:00
Dan Holmsand
5fa400c86a
Fix line break
2014-01-09 15:38:16 +01:00
Dan Holmsand
416fb91cc4
Add some doc-strings
2014-01-09 15:23:15 +01:00
Dan Holmsand
97799ae63c
Improve demo a bit
2014-01-09 14:37:11 +01:00
Dan Holmsand
c0744c7fed
Call render functions with props, children, component
2014-01-08 16:51:10 +01:00
Dan Holmsand
6bf6b3f7d4
More cleanup
...
todomvc is now down to 87 lines!
2014-01-08 16:34:36 +01:00
Dan Holmsand
5818976f78
Use js-obj/aset/aget for props and state
2014-01-08 16:00:21 +01:00
Dan Holmsand
c6b56a7a76
Simplify props handling
...
Call Cloact components with separate cljsArgs and cljsChildren
props. That simplifies (and speeds up) code, for the small
price of one call to subvec.
2014-01-08 15:08:29 +01:00
Dan Holmsand
8a8779c736
Cleanup
2014-01-08 09:47:12 +01:00
Dan Holmsand
176f7b885c
Make ratom macros less fancy
2014-01-07 20:32:00 +01:00
Dan Holmsand
b93f48ba47
Clean project.clj up
2014-01-07 20:04:49 +01:00
Dan Holmsand
53fef42768
Breaking change: Stop implementing IDeref in cloact components
...
Introduce set-state, replace-state and state functions instead.
Since we already have our own atom, it doesn't make any sense
to duplicate functionality. Also, the implementation was necessarily
very messy, and fragile.
2014-01-07 19:57:40 +01:00