This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-08-03
Channels
- # admin-announcements (2)
- # arachne (1)
- # architecture (6)
- # boot (316)
- # cider (7)
- # cljsrn (7)
- # clojure (169)
- # clojure-argentina (3)
- # clojure-belgium (1)
- # clojure-canada (4)
- # clojure-india (1)
- # clojure-russia (39)
- # clojure-spec (27)
- # clojure-uk (55)
- # clojurescript (213)
- # css (1)
- # cursive (20)
- # datavis (2)
- # datomic (52)
- # devcards (3)
- # dirac (78)
- # emacs (20)
- # events (1)
- # funcool (3)
- # hoplon (15)
- # jobs-rus (2)
- # om (57)
- # onyx (82)
- # overtone (1)
- # re-frame (10)
- # reagent (1)
- # ring-swagger (46)
- # spacemacs (7)
- # specter (31)
- # spirituality-ethics (1)
- # sql (43)
- # test-check (1)
- # testing (4)
- # untangled (30)
@mattsfrey: Typically unit tests exercise one event handler and it's scope of change is limited, so if a unit test verifies schema, it might choose to just test the parts of app-db known to be effected. But unless you are particularly concerned about performance of checking the entire app-db then I would consider it good practice to do so, because this could catch any unintentional changes the handler has made using an incorrect path into app-db
why is it that so many of the assertions in re-frame end up breaking the app so that I have to reload the page?
@shader, that sounds unusual, re-frame tries to be very robust to errors. Can you give some examples?
wonder if anyone using secretary for routing? i wonder how to make it work with figwheel reloading.
figwheel will push changes to browser, but because app-db not changed, no rerending happen
so basically when changing html wont have effect on browser unless refresh or navigate to other page and navigate back
@rui.yang: Might be worth checking out the re-frame template, it uses figwheel and has an option to add secretary https://github.com/Day8/re-frame-template It also looks like https://github.com/dhruvp/angular-phonecat-re-frame uses both figwheel and secretary with re-frame as well
@shaun-mahood thanks, i will check it out