This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-01
Channels
- # admin-announcements (3)
- # beginners (25)
- # boot (21)
- # cider (39)
- # cljs-dev (86)
- # cljsrn (20)
- # clojars (4)
- # clojure (70)
- # clojure-canada (1)
- # clojure-greece (101)
- # clojure-poland (16)
- # clojure-russia (35)
- # clojure-spec (202)
- # clojure-uk (24)
- # clojurescript (69)
- # cursive (23)
- # datomic (34)
- # devcards (7)
- # dirac (5)
- # editors (3)
- # emacs (6)
- # events (1)
- # hoplon (52)
- # instaparse (1)
- # jobs (4)
- # jvm (2)
- # lein-figwheel (2)
- # leiningen (10)
- # luminus (2)
- # mount (1)
- # off-topic (12)
- # om (55)
- # om-next (8)
- # onyx (19)
- # pedestal (4)
- # planck (1)
- # re-frame (27)
- # reagent (5)
- # remote-jobs (1)
- # spirituality-ethics (14)
- # tmp-json-parsing (6)
- # untangled (121)
- # yada (32)
@kenny: try looking at the packager output in a browser
It may be a syntax error in the bundle
@pesterhazy: Unable to connect with remote debugger
. It seems like something is failing pretty early on.
is there something wrong with this? i'm trying to turn native events into re-frame signals, but nothing happens
(def ReactNative (js/require "react-native"))
(def DeviceEventEmitter (.-DeviceEventEmitter ReactNative))
(.addListener DeviceEventEmitter "keyboardWillShow" #(js/console.log "xxx"))
@caio, that's preceisely what I use
@kenny: I think the remote debugger message is not relevant, but I may be wrong
@caio, possibly a bug in your java/objectivec code
Hey guys, do you have any example how make reagent component as a library? I want to publish something)
A reagent component is just a function, so you can look at any cljs library for inspiration
Is it a react-native component?
@pesterhazy: yep) this is more react class then just function.. Is it possible to make for plain js too?
A js class is also just a function :)
Tecnically of course, but for react it must extend React.Component:)
I thought that exist at least one published reagent component.. I’m need example)