remove yellowbox warnings for componentWillMount and WillUpdate
This commit is contained in:
parent
e8e78bdec1
commit
747dec908e
|
@ -12,7 +12,11 @@
|
||||||
cljs.core.specs.alpha))
|
cljs.core.specs.alpha))
|
||||||
|
|
||||||
(if js/goog.DEBUG
|
(if js/goog.DEBUG
|
||||||
(.ignoreWarnings (.-YellowBox js-dependencies/react-native) #js ["re-frame: overwriting"])
|
(.ignoreWarnings (.-YellowBox js-dependencies/react-native)
|
||||||
|
#js
|
||||||
|
["re-frame: overwriting"
|
||||||
|
"Warning: componentWillMount is deprecated and will be removed in the next major version. Use componentDidMount instead. As a temporary workaround, you can rename to UNSAFE_componentWillMount."
|
||||||
|
"Warning: componentWillUpdate is deprecated and will be removed in the next major version. Use componentDidUpdate instead. As a temporary workaround, you can rename to UNSAFE_componentWillUpdate."])
|
||||||
(aset js/console "disableYellowBox" true))
|
(aset js/console "disableYellowBox" true))
|
||||||
|
|
||||||
(defn init [app-root]
|
(defn init [app-root]
|
||||||
|
|
Loading…
Reference in New Issue