mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-10 07:36:46 +00:00
Move setup to core
This commit is contained in:
parent
968d64cb2a
commit
bf3a56d877
@ -60,4 +60,6 @@
|
|||||||
:else (clj->js x)))
|
:else (clj->js x)))
|
||||||
|
|
||||||
;; We override the default reagent implementation with the one that supports vectors.
|
;; We override the default reagent implementation with the one that supports vectors.
|
||||||
(set! template/convert-prop-value convert-prop-value)
|
(defn set-convert-props-in-vectors!
|
||||||
|
[]
|
||||||
|
(set! template/convert-prop-value convert-prop-value))
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
[re-frame.interop :as interop]
|
[re-frame.interop :as interop]
|
||||||
[react-native.core :as rn]
|
[react-native.core :as rn]
|
||||||
[react-native.platform :as platform]
|
[react-native.platform :as platform]
|
||||||
|
[react-native.utils]
|
||||||
[react-native.shake :as react-native-shake]
|
[react-native.shake :as react-native-shake]
|
||||||
[reagent.core]
|
[reagent.core]
|
||||||
[reagent.impl.batching :as batching]
|
[reagent.impl.batching :as batching]
|
||||||
@ -35,6 +36,7 @@
|
|||||||
(set! batching/fake-raf #(js/setTimeout % 0))
|
(set! batching/fake-raf #(js/setTimeout % 0))
|
||||||
(def functional-compiler (reagent.core/create-compiler {:function-components true}))
|
(def functional-compiler (reagent.core/create-compiler {:function-components true}))
|
||||||
(reagent.core/set-default-compiler! functional-compiler)
|
(reagent.core/set-default-compiler! functional-compiler)
|
||||||
|
(react-native.utils/set-convert-props-in-vectors!)
|
||||||
|
|
||||||
(def adjust-resize 16)
|
(def adjust-resize 16)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user