Commit Graph

759 Commits

Author SHA1 Message Date
Dan Holmsand e89cad7c4c Merge branch 'master' of https://github.com/sir-pinecone/reagent 2016-06-08 21:06:26 +02:00
Dan Holmsand fed05ab7cd Merge branch 'master' of https://github.com/yayitswei/reagent 2016-06-08 20:59:24 +02:00
Dan Holmsand 64ed2e2fc6 Add to changelog 2016-06-07 20:07:06 +02:00
Dan Holmsand bb2faefcbe Move add-on-dispose! to IDisposable
And pass the reaction to the dispose function.
2016-06-07 16:35:17 +02:00
Dan Holmsand 30c9402fe9 Add note about lazy cursors. 2016-06-07 16:23:13 +02:00
Dan Holmsand 1280f58201 Make sure after-render fn is called immediately after render
when after-render is called during rendering. This should happen both
if the render is a part of the normal rendering loop, or if it is
triggered by render or force-update.
2016-05-31 23:09:43 +02:00
Dan Holmsand a4faf372fe Clarify after-render doc string 2016-05-31 18:01:48 +02:00
Dan Holmsand cd0863f1b2 Skip tests that require browser on node 2016-05-27 13:14:35 +02:00
Dan Holmsand d3ee4a7f8b Update figwheel and simplify doc app configuration 2016-05-27 12:55:13 +02:00
Dan Holmsand baf2107c15 Add test for nested with-let 2016-05-27 11:36:23 +02:00
Dan Holmsand ff48b3653d Clean up circular dependency avoidance 2016-05-27 11:35:31 +02:00
Dan Holmsand d276654ce4 Update npm React as well 2016-05-26 22:53:51 +02:00
Dan Holmsand 414be9355f Merge branch 'master' of https://github.com/ducky427/reagent 2016-05-26 20:02:20 +02:00
Dan Holmsand 072cce4844 Add add-on-dispose! to Reaction 2016-05-26 17:41:30 +02:00
Rohit Aggarwal 56f817b11c Upgraded React to 15.1.0 2016-05-22 17:23:31 +01:00
Mike Thompson 5f50240c42 Update template words 2016-05-20 11:01:33 +10:00
Mike Thompson 8ccc588cd7 Merge pull request #239 from danielcompton/issue-template
Add issue template
2016-05-20 10:19:55 +10:00
Daniel Compton c5b3fc3626 Add issue template 2016-05-18 09:23:08 +12:00
Yogthos b611b5fedd bumped up version to alpha2 2016-05-03 20:06:21 -04:00
Dan Holmsand 9681dd4dbf Slightly better error message if React module is missing
Make sure to throw error even if asserts are disabled
2016-05-02 20:38:18 +02:00
Dan Holmsand 14366ccce3 Flush ratom queue before rendering
Make sure outstanding reactions etc are up-to-date.
2016-05-02 20:18:58 +02:00
Dan Holmsand fe749392d7 Tweak history handling in demo 2016-05-02 12:44:02 +02:00
Dan Holmsand 86b98dcdba Make ratom-flush placeholder function a simple fn 2016-05-02 09:37:16 +02:00
Dan Holmsand 00bfb8ed01 Make new tests pass in production mode 2016-05-01 15:18:26 +02:00
Dan Holmsand 8e1f671d10 Merge branch 'master' of https://github.com/ducky427/reagent 2016-05-01 15:06:57 +02:00
Dan Holmsand 7943a0018b Make demo site reload a little faster 2016-05-01 13:45:37 +02:00
Dan Holmsand e128117788 Improve exception-handling in reactions
Make sure exceptions in children of reactions don't end up
being caught in the reaction itself.
2016-05-01 13:09:12 +02:00
Rohit Aggarwal 2703d12c85 Updated react to latest version. 2016-04-30 21:45:04 +01:00
Dan Holmsand e31c72670c Use emit instead of dispatch
Shorter, and possibly less confusing.
2016-04-30 14:55:04 +02:00
Dan Holmsand 1d912f0eaf Make sure force-update flushes queued reactions 2016-04-30 14:24:18 +02:00
Dan Holmsand 995acb6c34 Make reaction with error always throw on deref 2016-04-30 13:56:00 +02:00
Dan Holmsand d776b88113 Use :parallel-buld 2016-04-30 12:43:18 +02:00
Dan Holmsand 404ed67734 Import ReactDOM and ReactDOMServer lazily
This should allow the use of require to be optimized away when
using advanced compilation in e.g React native and node.
2016-04-30 11:34:48 +02:00
Dan Holmsand ec6260d33c Make webpack build work with newer ClojureScript 2016-04-29 21:29:18 +02:00
Dan Holmsand 9631021da7 Make sure reactions continue to run after throw 2016-04-29 20:42:05 +02:00
Dan Holmsand 8ff44c81e6 Rerun tests by clicking on test results 2016-04-29 13:17:54 +02:00
Dan Holmsand e801b8e29a Update clojurescript, figwheel and cljsbuild 2016-04-29 09:34:36 +02:00
Dan Holmsand 37b2954c3a Allow symbols, keywords and arbitrary cljs objects in markup
React no longer defaults to applying toString, and instead throws
confusing error messages when it encounters non-element objects.

This should make that happen less often.
2016-04-29 09:26:06 +02:00
Dan Holmsand 635e7c6e2a Update react version in package.json to match project.clj 2016-04-29 09:24:36 +02:00
Mike Thompson 324400d9e2 Merge pull request #236 from Deraen/update-react
Update Cljsjs React dependency
2016-04-28 12:43:12 +10:00
Juho Teperi 9d05459e1a Update Cljsjs React dependency
The latest Cljsjs React build adds missing nativeEvent property for
SyntheticEvent object on the extern file.
2016-04-27 23:27:21 +03:00
Dmitri Sotnikov 1c83ca2b46 Merge pull request #221 from runningskull/patch-1
update readme version of react-with-addons
2016-04-27 15:16:42 -04:00
Dmitri Sotnikov 5c1014d71f Merge pull request #233 from tatut/master
Upgrade to latest React
2016-04-27 15:11:46 -04:00
Tatu Tarvainen 5619269695 Upgrade to latest React 2016-04-16 10:01:33 +03:00
Dmitri Sotnikov 12828d7bd8 Update README.md 2016-03-02 09:30:31 -05:00
Dmitri Sotnikov 407fb8611b Update README.md 2016-02-27 20:58:20 -05:00
Juan Patten 883338c5ba update readme version of react-with-addons 2016-02-27 00:30:10 -07:00
Dan Holmsand f76bce6a2f Delay error reporting of missing ReactDOM[Server]
This should improve error messages, and allow Reagent to be used
without ReactDOM[Server] being present at all.
2016-02-24 13:34:26 +01:00
Dmitri Sotnikov ef21172591 Update README.md 2016-02-16 18:32:36 -05:00
Wei Hsu 85fbff060c Fix comment typos 2016-01-07 20:53:43 -08:00