Why need to return a function in Reagent component?

前端 未结 0 1494
春和景丽
春和景丽 2021-01-02 04:11

From the Reagent introduction, a simple timer component:

(defn timer-component []
  (let [seconds-elapsed (r/atom          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题