This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-12-04
Channels
- # adventofcode (100)
- # announcements (7)
- # architecture (1)
- # aws (14)
- # beginners (209)
- # calva (30)
- # cider (5)
- # cljdoc (2)
- # cljs-dev (37)
- # cljsrn (2)
- # clojure (133)
- # clojure-dev (20)
- # clojure-finland (1)
- # clojure-italy (10)
- # clojure-nl (19)
- # clojure-spec (56)
- # clojure-uk (49)
- # clojurescript (57)
- # clojurex (8)
- # core-async (2)
- # core-logic (1)
- # cursive (38)
- # data-science (19)
- # datomic (28)
- # devcards (3)
- # duct (8)
- # emacs (28)
- # figwheel (1)
- # figwheel-main (31)
- # fulcro (2)
- # jobs (1)
- # kaocha (1)
- # klipse (2)
- # mount (6)
- # nrepl (43)
- # off-topic (20)
- # pathom (3)
- # pedestal (1)
- # re-frame (15)
- # ring-swagger (1)
- # shadow-cljs (47)
- # spacemacs (19)
- # sql (20)
- # tools-deps (58)
- # unrepl (13)
- # vim (5)
'giorno
Domanda quick! Sto cercando di importare push notifications nella mia re-natal app e mi chiedevo se qualcuno sapesse come invocare il componente nel codice. La documentation dice var PushNotification = require('react-native-push-notification');
.. come diventerebbe in ClojureScript?
Un esempio che ho nel code di un altro componente e' (def touchable-highlight (r/adapt-react-class (.-TouchableHighlight ReactNative)))
non basta mettere nei :require
del namespace dove ti serve ["react-native-push-notification" :as r]
e usare l'alias r
dove hai bisogno?
non so come hai installato il componente, eh, ma quando mi appoggio a un componente esterno faccio così.