This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-12-09
Channels
- # beginners (140)
- # boot (163)
- # cider (43)
- # cljs-dev (50)
- # cljsjs (5)
- # cljsrn (38)
- # clojure (152)
- # clojure-austria (10)
- # clojure-berlin (9)
- # clojure-dev (11)
- # clojure-japan (1)
- # clojure-miami (2)
- # clojure-russia (147)
- # clojure-sg (12)
- # clojurescript (244)
- # code-reviews (3)
- # cursive (104)
- # data-science (5)
- # datavis (15)
- # datomic (35)
- # editors (4)
- # hoplon (1)
- # ldnclj (11)
- # lein-figwheel (14)
- # leiningen (22)
- # off-topic (53)
- # om (373)
- # omnext (2)
- # onyx (67)
- # parinfer (193)
- # re-frame (23)
- # reagent (89)
- # yada (7)
I read the first lines of Using-Stateful-JS-Components
and I am already laughing...it looks again like a masterpiece in the history of GitHub documentaton 😄
@piotrek as @escherize has point out, you absolutely don't have to provide the path. You just subscribe to the user via the user-id
. The subscription handler knows the path to the users. The views are shielded from that knowledge.
right, @mikethompson I believe @piotrek meant that he needed the path to update the user's info. And yeah, the view is totally ignorant of the shape of the data
oh, sorry, sounds like I got the wrong idea then.
@richiardiandrea: hey, thanks. very nice to get positive feedback. It can be hard to know how far to mix attempted humour with technical docs. Fine line.
Yep but I have found that you are perfectly on the line, IMHO of course
engaging but technical
I always wondered what the best way to use 3rd party js components. Now I have a better way to do that. Thank you.
BTW yes, me too, we integrated jq-console in http://clojurescript.io and that's were the mess came from
especially with highlightjs
nothing was working because I was probably not doing something in the right life-cycle method
I had to implement select2 and it was a pain to get it's event api to work right with re-frame. Now I feel like re-doing the whole thing.
If you do, can you create a Gist and put a link to it at the bottom of that Wiki page for others pls ?
@mikethompson: I was hopping to work on Prerenderer yesterday, during my Clojure Pair Programming event, but we ended up working on Free-from, a form generator for Re-frame and Reagent. We added Bootstrap support. Woohoo!
I’m hopping to get to Prerenderer today or tomorrow. @mikethompson do you have a deadline for releasing? Is the API set in stone after releasing? I don’t want to hold you back.
BTW, I explained all of reagent and re-frame to the guy I worked with in probably less than an hour and he got it and he was happy and impressed by it.
API not set in stone - your library (Prerenderer ) is the only client for the new API at this time 😉
We have released v0.6.0, pushed to clojars, etc -- just to make it easy to go forward.
In summary, you are absolutely not holding us back
So, don't give it another thought
Cool. Thanks.
looks like re-frame has some global state at the core (the event queue, the key->fn
handler functions atom, undo/redo-list
, id->fn
event handlers atom, global app-db
). Are there any plans of making that user-controlled? I’m imagining having a (make-re-frame-state)
or whatever that returns a map w/ all of the (currently global) state, and then you could (dispatch state [:event])
etc. Of course, we could still have the default be to use the global stuff, but I’d value the control
@danielcompton: interesting, thanks