Commit Graph

870 Commits

Author SHA1 Message Date
Dan Holmsand 39bcbccacb Add to changelog 2016-07-14 09:49:55 +02:00
Dan Holmsand c980ac0c3d Avoid warning messages from React in tests 2016-07-14 09:34:03 +02:00
Dan Holmsand 8d35b1f29e Avoid warnings about unknown props in new React 2016-07-14 08:39:43 +02:00
Dan Holmsand 42ba1662cb Fix lost onChange events on IE11
IE11 doesn't report onChange on every change, so we cannot trust
that the input elements value in in sync with what is reported.

To solve this keep track of the last known value of the input,
and only consult the input value when necessary.
2016-07-14 08:34:36 +02:00
Dmitri Sotnikov 563426f2ff Merge pull request #252 from ducky427/master
Upgraded React to v15.2.1
2016-07-13 09:20:02 -04:00
Rohit Aggarwal b6b0a928f3 Upgraded React to v15.2.1 2016-07-13 13:24:37 +01:00
Matthew Jaoudi d00bca01f8 Merge pull request #250 from danprince/master
Fixes require typo in readme example
2016-07-09 06:26:53 -07:00
danprince 906cd0bca6 fixes require typo in readme example 2016-07-09 14:20:02 +01:00
Dmitri Sotnikov 2df1b1d25c bumped up react to 15.2.0-0 2016-07-01 15:51:28 -04:00
Dan Holmsand d995e02057 Version 0.6.0-rc 2016-06-09 15:51:29 +02:00
Dan Holmsand 8d622b120b Add news about 0.6.0-rc 2016-06-09 15:51:04 +02:00
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