cabloy / zova

🚀A vue3 framework with ioc container. With the support of ioc container, defining reactive states no longer needs ref/reactive, nor ref.value
https://zova.js.org
MIT License
49 stars 3 forks source link

看看vue3-oop? #11

Open agileago opened 5 days ago

zhennann commented 5 days ago

你是在vue3中探索class应用的先行者,不知对Zova的架构设计有何建议,望赐教!

agileago commented 5 days ago

看了文档,感觉更复杂了,引入了太多新的概念,都用tsx了,为什么还要带着vue文件呢

zhennann commented 4 days ago

Zova仍然使用vue setup语法来定义组件,所以还是有vue文件。仅仅在业务层面引入ioc和class,这样代码实现起来会更简洁一些,可以看这篇文档的说明:https://zova.js.org/zh/guide/start/why.html