Commit Graph

28 Commits

Author SHA1 Message Date
Dan Holmsand 3aea9849ec One more step towards React 0.14 2015-10-08 16:19:40 +02:00
Dan Holmsand fa48e61f47 Start move to React 0.14 2015-10-08 14:14:34 +02:00
Dan Holmsand 2a74cbb144 More tests for warnings 2015-10-07 21:37:26 +02:00
Dan Holmsand 1d1552960c Start testing warnings from components 2015-10-07 20:38:19 +02:00
Dan Holmsand 7f189d7595 Fix lifecycle test 2015-10-07 19:58:00 +02:00
Dan Holmsand ec769d0c3c Print function names instead of source in warnings/errors 2015-10-07 19:50:29 +02:00
Dan Holmsand e6b32c6aee Allow raw React classes to be used with [:> comp ...] 2015-10-06 14:27:44 +02:00
Dan Holmsand 533c05aaca Allow output from create-class to be used directly by React 2015-10-06 12:49:47 +02:00
Dan Holmsand 3fca2e5d41 Make reactions async by queueing changes instead
Reactions now put themselves in a queue when they get a
callback from an atom. The queue is flushed before rendering, and
on deref on individual reactions.

This turns out to perform much better in many cases.
2015-09-30 08:56:06 +02:00
Dan Holmsand 6e3a2b415d Fix stupid with-let bug 2015-09-27 00:07:19 +02:00
Dan Holmsand 5fceda2aae Add tests for lifecycle methods 2015-09-25 13:44:10 +02:00
Dan Holmsand 55a4b4e1df Omit tests running in node 2015-09-25 11:48:11 +02:00
Dan Holmsand cfcf356743 Add track, track!, dispose! and with-let to core 2015-09-24 10:19:30 +02:00
Dan Holmsand 119fbfe173 Add a couple of more tests for with-let 2015-09-23 15:55:57 +02:00
Dan Holmsand 51163c1d07 Rename to with-let, add basic test 2015-09-23 10:39:49 +02:00
Dan Holmsand b1acdea090 Use lazy reactions in components 2015-09-11 15:06:42 +02:00
Dan Holmsand c4cd8c2921 wip: tests pass 2015-08-31 11:36:42 +02:00
Dan Holmsand be7bb69548 wip 2015-08-31 10:59:59 +02:00
Dan Holmsand b77b182d67 Work around clojurescript problem with sorted-maps 2015-08-31 08:18:45 +02:00
Dan Holmsand 3defd24c35 Add a test for component-path 2015-08-30 18:29:27 +02:00
Dan Holmsand eed924311e Add force-update 2015-08-20 14:59:13 +02:00
Dan Holmsand 5d24b9be65 Deprecate calling the result of create-class as a function
In the future, I'd like to make it possible to use Reagent classes
usable directly from React, in order to make interop easier.
2015-08-20 09:35:24 +02:00
Dan Holmsand a979a36a92 Drop test for key warning
React will sometimes warn, even if we don't.

Also, small fix for async demo.
2015-08-19 10:14:02 +02:00
Dan Holmsand 51048c7a7f Avoid unnecessary warning about missing :key
:key is not necessary in seqs in render-to-string et al.
2015-07-31 16:18:51 +02:00
Dan Holmsand b2210c2bf3 atom -> r/atom everywhere else, for consistency 2015-07-31 15:13:27 +02:00
Dan Holmsand 2628edabf8 Add tests for extended hiccup syntax 2015-07-30 20:26:16 +02:00
Dan Holmsand 7568b6843e Support running site in dev mode without tests 2015-02-11 19:06:38 +01:00
Dan Holmsand 163308a392 Make site and examples work with ClojureScript 2816
ClojureScript all of a sudden complains about "single segment
namespaces", which forces a rather massive reorg.

Also, cljs.test/run-tests is broken.
2015-02-10 14:35:12 +01:00