Commit Graph

12 Commits

Author SHA1 Message Date
Mike Thompson fbbcfc165b Improve deprecation messages. 2016-08-03 18:09:53 +10:00
Mike Thompson ea2dbff974 Work on Changes.md 2016-08-03 17:36:18 +10:00
Mike Thompson 5d87acbd3e Fix up ctx registration 2016-08-03 17:35:49 +10:00
Mike Thompson e527deea99 Add deprecation for reg-event. 2016-08-03 17:35:17 +10:00
Mike Thompson 311367dc3d Change to Interceptors (away from middleware). This is a big code drop.
Tests pass and todomvc works.
But there is some ugliness to now resolve, and a couple of  unresolved issues.
2016-08-03 12:53:01 +10:00
Mike Thompson 7fff9c6039 Improve comments around post-event-callback stuff 2016-07-29 14:31:31 +10:00
Mike Thompson e2034f4576 Allow registration and de-registration of post event callbacks via an id. 2016-07-28 14:50:39 +10:00
Mike Thompson 05c1e1fbd9 Produce deprecation warnings rather than errors. Dispense with warnings on earlier alpha changes. 2016-07-28 14:01:03 +10:00
Mike Thompson d2645c089d add helpful error messages which explain recent renaming 2016-07-24 18:14:43 +10:00
Mike Thompson 658f3b0232 Switch to using `reg-*` naming, instead of `def-*` naming 2016-07-24 17:08:09 +10:00
Stuart Mitchell faae34822c Removed undo functionality as it is not handled in day8.re-frame/undo 2016-07-22 14:02:18 +12:00
Sam Roberton cc33fe5a95 First pass at converting to CLJC for JVM testing
Note that the goal of using CLJC here is to enable writing and running
`deftest`s in JVM Clojure to test your (CLJS) re-frame app.  Actually
running a re-frame app as a meaningful thing on the JVM (other than for
tests) is explicitly *not* a goal.

- All files renamed *.cljs -> *.cljc
- New `re-frame.interop` ns for stuff that's different between CLJS and
  JVM Clojure, including Reagent interop.
- Other CLJS incompatibilities (eg `catch :default` and `deftype`'s
  `^:mutable` vs `^:volatile-mutable`) are handled with reader
  conditionals in-place.
2016-07-20 19:19:56 +10:00