Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么用react #24

Open
dvlin-dev opened this issue Apr 12, 2022 · 0 comments
Open

为什么用react #24

dvlin-dev opened this issue Apr 12, 2022 · 0 comments

Comments

@dvlin-dev
Copy link
Owner

dvlin-dev commented Apr 12, 2022

其实刚开始计划都学。后面选择React,
一是因为jsx tsx的语法更加灵活,举个例子在写动态路由的时候react就天生支持,而vue还要使用addRoutes。
二是感觉react的生态更加繁荣一些吧相对于vue来说,像一些开源产品国外搞的比较多,也是主要react为主,有更多学习的东西。像状态库就有好几种,hooks库 也有swr、ahooks、react-query。
三是react还是大厂用的多一点,面向工作学习 haha,国外一些大的公司 vercel 都是react
四 复杂的项目react

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant