Commit Graph

793 Commits

Author SHA1 Message Date
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
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 16c50fdf1d Make equal-args use = less often 2014-01-07 12:43:53 +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 4099c00838 Refactor template a bit 2014-01-06 18:35:05 +01:00
Dan Holmsand 11a1c62024 Wrap different React classes in distinct wrappers
That should improve performance a little, and help React's diffing
2014-01-06 16:35:39 +01:00
Dan Holmsand dd3f9b10e1 Move equal-args out to util 2014-01-06 15:19:12 +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