cljsrn

https://github.com/drapanjanas/re-natal | https://github.com/drapanjanas/re-natal/wiki/FAQ | https://github.com/condense/mercury-app/wiki | https://github.com/seantempesta/expo-cljs-template/ https://www.npmjs.com/package/create-expo-cljs-app
zendevil 2021-01-21T12:08:17.001300Z

I have the following code as my root component. I’m using react navigation, but I’m seeing a blank screen:

(defn root-comp []
  [:> NavigationContainer
   [:> SafeAreaView
    (let [Tab (createBottomTabNavigator)]
      [:> (.-Navigator Tab)
       [:> (.-Screen Tab)
        {:key :home
         :name "Home"
         :component (fn [] (r/as-element [home-container]))}]
       [:> (.-Screen Tab)
        {:key :upload
         :name "Upload"
         :component (fn [] (r/as-element [sample-comp]))}]])]])

zendevil 2021-01-21T12:08:55.001600Z

(defn init []
  (dispatch [:register-db])
  (render-root "Humboi" (r/as-element [root-comp])))

zendevil 2021-01-21T12:08:58.001800Z

how to fix this

zendevil 2021-01-21T12:39:13.002200Z

removing SafeAreaView fixed the problem!