如果你没有特别喜欢某一种写法,那么只有一个原则:
template优先,template不好写再用jsx
因为template可读性比jsx好很多,而且ts类型提示也很不错,
尤其官方推出了vscode插件volar,能让template达到tsx一样的类型提示效果
This project forked from lychub/vue-next-libs-course
vue 3 小视频
Home Page: https://www.bilibili.com/video/BV1x64y1S7Ff
如果你没有特别喜欢某一种写法,那么只有一个原则:
template优先,template不好写再用jsx
因为template可读性比jsx好很多,而且ts类型提示也很不错,
尤其官方推出了vscode插件volar,能让template达到tsx一样的类型提示效果
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.