This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-12
Channels
- # adventofcode (6)
- # beginners (148)
- # boot (5)
- # calva (1)
- # cider (10)
- # cljdoc (10)
- # cljs-dev (8)
- # cljsrn (10)
- # clojure (180)
- # clojure-dev (24)
- # clojure-europe (2)
- # clojure-finland (1)
- # clojure-italy (32)
- # clojure-losangeles (1)
- # clojure-nl (40)
- # clojure-spec (10)
- # clojure-uk (44)
- # clojured (4)
- # clojurescript (88)
- # community-development (33)
- # core-async (7)
- # cursive (19)
- # datomic (98)
- # duct (3)
- # events (1)
- # figwheel-main (10)
- # fulcro (62)
- # leiningen (23)
- # luminus (18)
- # off-topic (19)
- # pedestal (6)
- # re-frame (46)
- # reagent (21)
- # ring (17)
- # ring-swagger (3)
- # shadow-cljs (94)
- # slack-help (9)
- # spacemacs (14)
- # sql (1)
- # testing (4)
- # tools-deps (14)
@haiyuan.vinurs Something like this works (you need to have a layout in your app that loads the splash) https://gist.github.com/attentive/a6892245133403f02f8859c7db57c022
@attentive thanks, i've solved it
(def react-native-splash-screen (js/require "react-native-splash-screen")) (def SplashScreen (aget react-native-splash-screen "default")) (def hideSplashScreen (.-hide SplashScreen)) before, i don't know shoud get "default" from the library
@haiyuan.vinurs If you have a look at my gist, you can see the use of the oops.core/oget
and oops.core/ocall
macros for native JavaScript interop. These protect you when you use advanced compilation, would highly recommend https://github.com/binaryage/cljs-oops
I want to know how to use react-navigation 3 with re-natal. Is there any example or help?
Thought experiment - instead of trying to make a figwheel bridge, how hard would it be to have figwheel hook into facebook’s metro bundler itself? Metro supports swappable transformers for your javascript: https://facebook.github.io/metro/docs/en/concepts
@bhauman especially curious to hear your thoughts on this