This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-07-31
Channels
- # admin-announcements (1)
- # beginners (1)
- # boot (91)
- # cljs-dev (11)
- # cljsjs (8)
- # cljsrn (38)
- # clojure (89)
- # clojure-dusseldorf (1)
- # clojure-russia (6)
- # clojure-spec (14)
- # clojure-uk (4)
- # clojurescript (25)
- # data-science (1)
- # datascript (3)
- # datavis (4)
- # emacs (25)
- # events (1)
- # jobs-rus (3)
- # off-topic (1)
- # proton (3)
- # re-frame (19)
- # reagent (5)
- # specter (10)
- # yada (1)
what kind of error?
navigatorios is deprecated
You're right, it doesn't seem like it has been officially deprecated.
However, people encourage you to use Navigator instead, as it's portable between ios and android.
The whole navigator situation is a bit of a mess.
@pesterhazy: any idea how to use navigationbar?
(def navigation-bar (r/adapt-react-class (.-NavigationBar (.-Navigator ReactNative))))
like this?
haven't used the stock one
my custom one is used like so: :navigation-bar (r/as-element [navigation-bar])
probably not 🙂
[..]
gives you a persistent vector, which react-native won't understand
you need to turn it into a react element
this i mean (def navigation-bar (r/adapt-react-class (.-NavigationBar (.-Navigator ReactNative))))
yup that looks about right
(if it's React.Navigator.NavigatorBar in javascript)