This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-10-03
Channels
- # aws (1)
- # bangalore-clj (3)
- # beginners (3)
- # boot (9)
- # business (1)
- # cljs-dev (72)
- # cljsjs (7)
- # clojure (86)
- # clojure-austin (1)
- # clojure-belgium (4)
- # clojure-brasil (14)
- # clojure-conj (3)
- # clojure-dev (10)
- # clojure-italy (4)
- # clojure-poland (14)
- # clojure-russia (36)
- # clojure-spec (144)
- # clojure-uk (50)
- # clojurebridge (1)
- # clojurescript (160)
- # clr (2)
- # core-async (8)
- # cursive (56)
- # datomic (34)
- # devcards (3)
- # emacs (2)
- # ethereum (1)
- # events (3)
- # hoplon (21)
- # jobs (2)
- # leiningen (9)
- # luminus (3)
- # off-topic (1)
- # om (26)
- # onyx (42)
- # pedestal (29)
- # protorepl (1)
- # re-frame (43)
- # reagent (26)
- # rethinkdb (4)
- # ring-swagger (4)
- # spacemacs (5)
- # specter (4)
- # untangled (102)
- # vim (43)
- # yada (10)
Cool!
@andre: I get the following warning when running re-frisk
WARNING: Namespace re-frisk.debugger contains a reserved JavaScript keyword, the corresponding Google Closure namespace will be munged to re_frisk.debugger$ at line 1 resources\public\js\compiled\out\re_frisk\debugger.cljs
- is that expected?@shaun-mahood yes. i saw it only after i published release. i'll fix it in the next release. thank you
Any docs/pointers to migrate from 0.7 to 0.8 of re-frame? It's a small prototype I want to migrate
@dobladez: Did you define any custom middleware? If not, just change the version and it should work.
Or are you looking for specifics on changing from the old syntax to new?
@shaun-mahood Thanks, cool. No custom middleware. I want take advantage of the new stuff
I just found the new "in-progress" docs... going through them. I was wondering if there were quick pointers comparing the old vs new
https://github.com/Day8/re-frame/blob/master/CHANGES.md is a pretty good overview of the changes
And there is a lot built into the new docs
You aren't the only one - I've been trained to expect almost no detail in changelogs
@andre: I'm having some trouble getting re-frisk to work in a separate window, pretty sure I'm doing something stupid. New version works fine in my app panel if I configure it that way.
I've added refer-macros
, run export-debugger!
, and have added the :external config
to my project.clj under cljs -> builds -> dev -> compiler
Is there anything else that needs to be done? I've gone through the re-frisk repo but can't see anything different.
@andre: Thanks, that helped me figure it out - I took away the enable-re-frisk!
call in my run command when I started trying to get the external window, so the debugger didn’t come up at all. For whatever reason I thought you had to do one or the other, it’s great to have both of them.
Are there any established standards or processes for contributing our own effects libraries? I've been working on https://github.com/micmarsh/re-frame-youtube-fx and want to make sure it's consistent with the re-frame "brand"
@micmarsh: Check out the very end of https://github.com/Day8/re-frame/blob/master/docs/Effects.md - that’s all the guidance I know of at the moment.
Awesome that you’re working on that, too!
Published a tutorial about How to create decentralised apps with Re-frame and Ethereum https://medium.com/@matus.lestan/how-to-create-decentralised-apps-with-clojurescript-re-frame-and-ethereum-81de24d72ff5#.b9xh9xnis
very cool @madvas! I used to be very into Blockchain stuff, this should be a fun read
@madvas: Would you be able to add that to https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md ?
Hi, sorry if this is covered somewhere and I vaguely remember something like it being covered but... is it possible to have a parameterized reaction?
@johanatan: Are you thinking of dynamic subscriptions? https://github.com/Day8/re-frame/wiki/Dynamic-Subscriptions
@shaun-mahood sure 😉
@madvas: Awesome. If you want to add your effects libraries to the end of https://github.com/Day8/re-frame/blob/master/docs/Effects.md while you’re at it, feel free!
@shaun-mahood: no, not really
@johanatan: No idea then.
Just wanna to point out that re-frame 0.8 is pure awesomeness. Had a lot of fun using it, while creating Ethereum apps. Big Thanks to all contributors 😉
@madvas: Thanks for the PRs, I screwed up merging yours and another one and ended up applying the change manually. So the declined PR is really an accepted PR, just blame it on my lack of Git skills / confidence 🙂
@shaun-mahood it’s okay 😄
@andre: Not sure if this is a good idea or not, but I think it would solve one of my general re-frame development issues (and I'll probably pursue it with frisk if it's not a good fit with re-frisk).
When I'm working on new functionality, I tend to use a lot of println
statements to double check and verify my assumptions about how the data is flowing (probably not ideal, but it's the one debugging tool that's stayed relevant across every platform and language). I'm wondering if it would be possible to add in a sort of one-time display, so that I could add (re-frisk/one-time-log x) and have an extra entry added to a logging section of re-frisk (or just at the bottom). Then ideally I could look at the data, then close/remove that log entry and move on to the next one.