Closed foopang closed 7 years ago
Currently, commented js modules won't be loaded just when they are not preceded by other functions. For example:
;; (js/require "react-native") <- this won't be loaded ;; (def ReactNative (js/require "react-native")) <- this still be loaded
;; (js/require "react-native")
;; (def ReactNative (js/require "react-native"))
Thanks @foopang!
Currently, commented js modules won't be loaded just when they are not preceded by other functions. For example:
;; (js/require "react-native")
<- this won't be loaded;; (def ReactNative (js/require "react-native"))
<- this still be loaded