网站首页 > 博客文章 正文
10月5日00:45 Vue.js框架作者,HTML5版Clear打造人尤雨溪于微博公布尚处于pre-alpha状态的Vue 3源码。
What’s coming in Vue3.0
? Make it faster
? Make it smaller
? Make it more maintainable
? Make it easier to target native
? Make your life easier
“We have achieved most of the architectural goals and new features planned for v3”已经实现v3的大部分架构目标和新功能。
? Compiler编译器
Modular architecture模块化体系架构
"Block tree" optimization "Block tree"优化
More aggressive static tree hoisting static tree hoisting功能优化
Source map support支持Source map
Built-in identifier prefixing (aka "stripWith")内置标识符前缀(又名"stripWith")
Built-in pretty-printing内置pretty-printing功能
Lean ~10kb brotli-compressed browser build after dropping source map and identifier prefixing 删除源映射和标识符前缀后构建lean~10kb brotli压缩浏览器
? Runtime运行时
Significantly faster明显加快
Simultaneous Composition API + Options API support, with typings 同时支持Composition API 、Options API及 typings
Proxy-based change detection 基于Proxy的变更检测
Fragments支持Fragments
Portals支持Portals
Suspense w/ async setup()支持Suspense w/ async setup()
However, there are still some 2.x parity features not completed yet:“但是,仍有一些2.x奇偶校验功能尚未完成。”
Server-side rendering服务器端渲染
<keep-alive>
<transition>
Compiler DOM-specific transforms 编译器特定于“DOM”的转换
v-on DOM modifiers DOM修饰符
v-model
v-text
v-pre
v-once
v-html
v-show
The current implementation also requires native ES2015+ in the runtime environment and does not support IE11 (yet).当前的实现还需要在运行环境中使用本机ES2015+,但还不支持IE11。值得注意的是,Vue 3.0虽有大幅度调整,却仍与2.x兼容。
猜你喜欢
- 2024-10-26 尤雨溪在直播中讲到的Vue3.0 Beta的那些特性,快记笔记了
- 2024-10-26 Vue Conf 2023 精彩回顾,新语法草案助 Vue 继续封神
- 2024-10-26 vue3 和Vu2的区别有哪些?(vue3和vue2的优缺点)
- 2024-10-26 基于vue3+ts+vite封装的动态表单,支持编辑生成页面表单配置渲染
- 2024-10-26 什么是Vue 3 “Vapor Mode”(转)(vue3 provider)
- 2024-10-26 Vue 3 源码开放,你学习了吗?(vue源码讲解)
- 2024-10-26 Vue3迁移之路,你已准备起航?(vuereal转移技术原理)
- 2024-10-26 Vue3.3 + TS4 ,自主打造媲美 ElementPlus 的组件库(超清完结)
- 2024-10-26 记一次 Vue2 迁移 Vue3 的实践总结
- 2024-10-26 字节二面:说一下Vue3中你知道的Composition API
你 发表评论:
欢迎- 最近发表
- 标签列表
-
- powershellfor (55)
- messagesource (56)
- aspose.pdf破解版 (56)
- promise.race (63)
- 2019cad序列号和密钥激活码 (62)
- window.performance (66)
- qt删除文件夹 (72)
- mysqlcaching_sha2_password (64)
- ubuntu升级gcc (58)
- nacos启动失败 (64)
- ssh-add (70)
- jwt漏洞 (58)
- macos14下载 (58)
- yarnnode (62)
- abstractqueuedsynchronizer (64)
- source~/.bashrc没有那个文件或目录 (65)
- springboot整合activiti工作流 (70)
- jmeter插件下载 (61)
- 抓包分析 (60)
- idea创建mavenweb项目 (65)
- vue回到顶部 (57)
- qcombobox样式表 (68)
- vue数组concat (56)
- tomcatundertow (58)
- pastemac (61)
本文暂时没有评论,来添加一个吧(●'◡'●)