Commit Graph

465 Commits

Author SHA1 Message Date
Dan Holmsand b0d86598ce Start to add tests for monitor 2015-09-13 20:31:31 +02:00
Dan Holmsand aaf1d56edb More work on monitor 2015-09-13 19:01:58 +02:00
Dan Holmsand ee72c60d3a Start implementing monitor 2015-09-13 18:17:38 +02:00
Dan Holmsand e12716da5d Log caught errors instead of rethrowing 2015-09-13 14:30:19 +02:00
Dan Holmsand 04daf6ac57 Exceptions from reactions are now thrown on deref only 2015-09-13 11:00:46 +02:00
Dan Holmsand b036cf938e Complete async testing 2015-09-12 19:13:31 +02:00
Dan Holmsand 544a3339d0 Start testing async reaction 2015-09-12 18:34:10 +02:00
Dan Holmsand bc711c4228 Add async reaction 2015-09-12 18:31:20 +02:00
Dan Holmsand f18d4a7656 Get rid of norun 2015-09-12 09:37:15 +02:00
Dan Holmsand bb1fa312d6 Use = in deref as well, for consistency 2015-09-11 22:13:36 +02:00
Dan Holmsand b0395b5461 Make reaction notify only when it actually changes 2015-09-11 20:37:23 +02:00
Dan Holmsand 2895c9bed7 A little cleanup 2015-09-11 18:23:18 +02:00
Dan Holmsand b1acdea090 Use lazy reactions in components 2015-09-11 15:06:42 +02:00
Dan Holmsand 679136f5d5 Make constants const 2015-09-11 12:35:06 +02:00
Dan Holmsand f785362b46 Some cleanup 2015-09-10 21:27:02 +02:00
Dan Holmsand 0b77d9af31 Get rid of active? 2015-09-10 20:51:09 +02:00
Dan Holmsand 67a724b540 Cleaner update logic 2015-09-10 20:27:52 +02:00
Dan Holmsand fe091ad5c1 Back to defining everything inside deftype 2015-09-10 19:53:24 +02:00
Dan Holmsand 80a3c27fac Some performance tweaking 2015-09-10 18:30:00 +02:00
Dan Holmsand c6ca75ff0e Revert last commit 2015-09-10 17:43:07 +02:00
Dan Holmsand e09534c8cd Experiment with alternative to set 2015-09-10 17:40:55 +02:00
Dan Holmsand 31b06375ef Use run instead of deref 2015-09-10 16:06:53 +02:00
Dan Holmsand 0634806104 wip 2015-09-10 15:14:20 +02:00
Dan Holmsand 02be9425e5 Move parts of Reaction to plain functions 2015-09-10 14:55:07 +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 6c345db29e Now almost working 2015-08-31 10:39:17 +02:00
Dan Holmsand 043c8b0dee wip: sort of working 2015-08-31 10:18:21 +02:00
Dan Holmsand 1782ff1832 wip - not working 2015-08-31 10:05:53 +02:00
Dan Holmsand 829be2efa1 Start switch to three-state dirty status 2015-08-31 08:39:13 +02:00
Dan Holmsand b77b182d67 Work around clojurescript problem with sorted-maps 2015-08-31 08:18:45 +02:00
Dan Holmsand 4ccec97274 Don't catch exceptions in render 2015-08-30 23:07:34 +02:00
Dan Holmsand ea021d3b87 Don't try to unmount on error
React gets very confused when there are errors...
2015-08-30 21:53:23 +02:00
Dan Holmsand e53a5c2b13 Merge branch 'master' of https://github.com/holmsand/reagent 2015-08-30 18:30:57 +02:00
Dan Holmsand 3defd24c35 Add a test for component-path 2015-08-30 18:29:27 +02:00
Dan Holmsand 10562cfb9d Add component-path, and use in errors and warnings 2015-08-30 18:14:54 +02:00
Dan Holmsand 57c747b358 Add asserts to adapt-react-class and reactify-component 2015-08-24 20:11:04 +02:00
Dmitri Sotnikov 7da400be00 Update README.md 2015-08-22 11:43:22 -04:00
Dmitri Sotnikov 253624fdb3 bumped up cljs version in examples 2015-08-21 22:52:04 -04:00
Dan Holmsand b45f84fa71 Version 0.5.1-rc 2015-08-20 20:48:23 +02:00
Dan Holmsand 5be5ace95d Add to changelog 2015-08-20 15:08:26 +02:00
Dan Holmsand eed924311e Add force-update 2015-08-20 14:59:13 +02:00
Dan Holmsand 6b9aeffadd Make tests run in node in debug mode as well
And simplify site generation
2015-08-20 09:54:15 +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 bf1626b5d2 Simplify input creation a bit 2015-08-20 09:34:50 +02:00
Dan Holmsand 5bbba3e30a Make sure inputs don't lose focus
selectionStart/End should not be set on inputs that don't have focus
currently.
2015-08-19 10:50:53 +02:00
Dan Holmsand 6548e7ef76 Merge branch 'master' of https://github.com/holmsand/reagent 2015-08-19 10:17:17 +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 2293c88f10 Make sure site generation works with newer ClojureScript 2015-08-19 10:13:25 +02:00
Dan Holmsand e761294c81 Update React, ClojureScript and figheel versions 2015-08-19 10:12:11 +02:00