This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-01-01
Channels
- # beginners (71)
- # boot (148)
- # cider (21)
- # cljs-dev (2)
- # cljsjs (35)
- # clojure (212)
- # clojure-russia (42)
- # clojure-spec (36)
- # clojure-uk (28)
- # clojurescript (18)
- # cursive (2)
- # datascript (20)
- # datomic (2)
- # hoplon (2)
- # off-topic (355)
- # om (2)
- # onyx (1)
- # protorepl (1)
- # reagent (34)
- # ring-swagger (6)
- # rum (8)
- # sql (4)
- # untangled (64)
- # vim (22)
- # yada (1)
Take a look at this article (and please retweet if you like it) https://twitter.com/viebel/status/815401454257274880
@viebel, looks great. I'm going to take a stab at a klipsenabled blog post about reagent
I noticed that, in the blog post, if you change, e.g., the string "Weight", the comp doesn't update
I'm guessing that's because you don't re-run r/render
on code changes
which makes sense I think, at least if you want to demo how re-rendering works
btw, the link to "klipse plugin" at http://blog.klipse.tech/reagent/2016/12/31/reagent-in-klipse.html is broken
1. I fixed the broken link - Thx for letting me know
2. in order to re-render the component, you have to re-evaluate the reagent
snippet by either modifying its code (e.g with a whitepace) or pressing Ctrl-enter
3. what are you going to demonstrate in your klipse-enabled blog post?
ad 2, could you make it work with Cmd-Enter on macs as well? That's what I tried before asking.
ad 3, that's what I'm trying to figure out
I was thinking callback refs (https://facebook.github.io/react/docs/refs-and-the-dom.html)
Morning folks … I’m new to Clojure/script .. Before I engage on a long learning path .. Just double checking that reagent supports Web React as well as React-Native ?
The main readme on reagent page, has no mention of “native” nor “android” ..etc .. which I find weird!
Yes it does, absolutely
Check #cljsrn
Search for boot-react-native or re-natal
when I checked .. re-natal is too focused on native .. and reagent was too focused on web react 😄
For the react-web .. I wonder if I can just pick a react component (say, date-picker, or calendar …etc) .. and use it from cljs without knowing much JS (which I don’t)
that's a misunderstanding
reagent is more or less agnostic as to web vs native
re-natal is focussed on native of course, that's the point 🙂
I’m a bit confused .. what does re-natal add .. afaict re-agent can do both web and native .. is re-natal mostly a project template generator (like yo from js land?)
have a look at its website. it handles interaction with the packager, reloading and so on
pesterhazy .. can you confirm whether grabbing & using 3rd party react-web components is supported (i.e. without wrapping them in cljs)
it is supported
search fo "Better interop" here for using 3rd party react components: http://reagent-project.github.io/news/news060-alpha.html
@kim0, I'm trying: https://presumably.de/