This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-08
Channels
- # admin-announcements (22)
- # beginners (28)
- # boot (8)
- # cider (9)
- # cljs-dev (1)
- # cljs-site (3)
- # cljsjs (6)
- # cljsrn (6)
- # clojure (20)
- # clojure-germany (3)
- # clojure-russia (16)
- # clojure-uk (6)
- # clojurescript (106)
- # datascript (9)
- # datomic (19)
- # devcards (4)
- # dirac (42)
- # docker (4)
- # emacs (3)
- # hoplon (89)
- # jobs-rus (1)
- # keechma (6)
- # lein-figwheel (1)
- # leiningen (1)
- # luminus (11)
- # off-topic (1)
- # om (1)
- # om-next (1)
- # onyx (19)
- # other-languages (37)
- # parinfer (1)
- # proton (1)
- # reagent (9)
- # rethinkdb (17)
- # rum (2)
@drapanjanas: Hey. I just updated to the latest re-natal and it doesn’t appear to be using React Native 0.25 (as the docs suggest).
Also, it looks like they’ve split up the react and react-native imports:
(set! js/window.React (js/require "react"))
(def react-native (js/require "react-native"))
(def app-registry (.-AppRegistry react-native))
(def text (r/adapt-react-class (.-Text react-native)))
(def view (r/adapt-react-class (.-View react-native)))
(def image (r/adapt-react-class (.-Image react-native)))
(def touchable-highlight (r/adapt-react-class (.-TouchableHighlight react-native)))
Also, it looks like enable-source-maps
doesn’t work anymore
@seantempesta: yes, it is not released yet. The templates which uses natal-shell (om-next and rum) throws warnings because of deprecated access to React api via require('react-native'). I have submitted a PR to natal-shell to fix the warning. It is merged but not released yet. Once all works I will release. I will check the 'enable-source-maps' thanks for hint