1. reagent的eagent.core/as-component
过期
Status
! Compilation completed in 19.13 seconds.
1 Warnings
Warning :undeclared-var in backend/system/role/sys_role_views.cljs at 152:16
Use of undeclared Var reagent.core/as-component
149 | (for [parent tree]
150 | [:> TreeNode
151 | {:key (:id parent)
152 | :icon (reagent.core/as-component [:> ant/Icon {:type (:icon parent)}])
153 | :title (:name parent)}
154 | (for [child (:children parent)]
155 | [:> TreeNode
156 | {:key (:id child)
需要将reagent升级到最新版本1.0.0-alpha2
,升级前我本地的reagent版本为0.10.0
2. kee-frame里的reagent.core/render
过期
Warning :fn-deprecated in kee_frame/interop.cljs at 38:7
reagent.core/render is deprecated
35 | (defn render-root [root-component]
36 | (when root-component
37 | (if-let [app-element (.getElementById js/document "app")]
38 | (reagent/render root-component
39 | app-element)
40 | (throw (ex-info "Could not find element with id 'app' to mount app into" {:component root-component})))))
41 |
42 | (defn breakpoints-or-defaults [breakpoints]
需要将kee-frame升级到最新版本0.4.0
,升级前我本地的reagent版本为0.3.3
.
https://github.com/ingesolvoll/kee-frame/issues/86有人提到。
建议将re-frame也升级到最新版,毕竟1.0.0了,为数不多的不是0.0.x的库了,了不起。
网友评论