Dan Holmsand
8e542292a2
Cloact -> Reagent
2014-01-17 11:12:11 +01:00
Dan Holmsand
fb7310870a
Fix test-running in advanced compilation
2014-01-10 14:27:59 +01:00
Dan Holmsand
94cdfd6a2f
Move demo to separate directory
2014-01-10 11:49:36 +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
176f7b885c
Make ratom macros less fancy
2014-01-07 20:32:00 +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
Dan Holmsand
00317991ee
More docs
2014-01-07 17:01:28 +01:00
Dan Holmsand
062fb33cb3
Make demo a little prettier
2014-01-07 12:45:08 +01:00
Dan Holmsand
f9e0dfe4b3
Syntaxify comments
2014-01-06 22:27:22 +01:00
Dan Holmsand
2c093bf47c
Simplify example by not trying to be fancy
2014-01-06 20:58:39 +01:00
Dan Holmsand
c159984024
Include examples and tests in demo page
2014-01-06 19:16:53 +01:00
Dan Holmsand
3dc2c0950a
Refactor demo
2014-01-06 12:46:58 +01:00
Dan Holmsand
d16d0b2405
Color parens of different levels differently
2014-01-05 15:52:51 +01:00
Dan Holmsand
5031284e81
Improve syntax highlighting a little
2014-01-05 14:47:06 +01:00
Dan Holmsand
62322c474f
Add a couple of asserts, and a link
2014-01-05 13:29:22 +01:00
Dan Holmsand
2c2dca026c
Generate demo page
2014-01-05 11:16:01 +01:00
Dan Holmsand
93759f6043
Improve demo a little
2014-01-04 15:05:42 +01:00
Dan Holmsand
0f45462034
One more example
2014-01-04 10:56:21 +01:00
Dan Holmsand
7381678bc2
Use :key in example, and explain why
2014-01-03 16:52:05 +01:00
Dan Holmsand
af45084966
Remove support for refs for now
...
It shouldn't be necessary for Cloact, since we can share data
between components using atoms. And it was broken and untested
anyway...
2014-01-03 16:40:10 +01:00
Dan Holmsand
059e190841
Document render-component
2014-01-03 15:52:18 +01:00
Dan Holmsand
dc6b50e864
Documentation for atom
2014-01-03 13:22:41 +01:00
Dan Holmsand
21823e12d0
Started writing some documentation
2014-01-03 10:56:15 +01:00
Dan Holmsand
1bb8f7e3e9
Add simple syntax highlighting
2014-01-02 17:45:31 +01:00
Dan Holmsand
3aa5f57c05
Add BMI-calculator
2014-01-02 16:18:21 +01:00
Dan Holmsand
454a7af31d
Start on docs and demos
2014-01-02 14:04:30 +01:00
Dan Holmsand
c26d3550f4
Make test work with node
2013-12-18 12:14:57 +01:00
Dan Holmsand
88d6361540
Make to-string more convenient
2013-12-18 09:13:16 +01:00
Dan Holmsand
6191a4c0bc
Add some animation to todomvc
2013-12-17 22:25:11 +01:00
Dan Holmsand
59333443a7
Simplify the few tests we have
2013-12-17 13:25:21 +01:00
Dan Holmsand
89e7392269
Compare state with identical? in shouldComponentUpdate
...
And fix render bug
2013-12-17 12:26:23 +01:00
Dan Holmsand
12566ced7b
Initial version
2013-12-16 23:19:36 +01:00