操作系统

Source Code Reading for Vue 3: How does `hasChanged` work?

Source Code Reading for Vue 3: How does `hasChanged` work?

Hey, guys! The next generation of Vue has released already. There are not only the brand new composition API, much more powerful and flexible reactivi

技术牛 技术牛 2026-05-26
0 0 0
Yet Another Intro for Symbol

Yet Another Intro for Symbol

First of all, symbol is a built-in primitive type. And its guaranteed to be unique. Symbols are often used to add unique property keys to an object wo

技术牛 技术牛 2026-05-26
0 0 0
TypeScript Crash Course: Property Access Modifiers

TypeScript Crash Course: Property Access Modifiers

There is no other great moment to head into the world of TypeScript instead of right now. Angular is in TypeScript, React is in TypeScript, and even V

技术牛 技术牛 2026-05-26
0 0 0
Another Intro for Cookies

Another Intro for Cookies

Cookies are strings of data that are stored directly in the browser. They are a part of HTTP protocol, defined by RFC 6265 specification. Cook

技术牛 技术牛 2026-05-26
0 0 0
petite-vue源码剖析-为什么要读源码?

petite-vue源码剖析-为什么要读源码?

什么是petite-vue? 根据官方解释,petite-vue是专门为非前后端分离的历史项目提供和Vue相近的响应式开发模式。 与完整的Vue相比最大的特点是,面对数据的变化petite-vue采取直接操作DOM的方式重新渲染。 具体的使用方式请参考GitHub,在

技术牛 技术牛 2026-05-26
0 0 0
petite-vue源码剖析-从静态视图开始

petite-vue源码剖析-从静态视图开始

代码库结构介绍examples 各种使用示例scripts 打包发布脚本tests 测试用例src directives v-if等内置指令的实现app.ts createApp函数block.ts 块对象context.ts 上下文对象eval.ts 提供v-if="count === 1"等表达

技术牛 技术牛 2026-05-26
0 0 0
petite-vue源码剖析-v-if和v-for的工作原理

petite-vue源码剖析-v-if和v-for的工作原理

深入v-if的工作原理 代码语言:javascript AI代码解释

技术牛 技术牛 2026-05-26
0 0 0
petite-vue源码剖析-属性绑定`v-bind`的工作原理

petite-vue源码剖析-属性绑定`v-bind`的工作原理

关于指令(directive) 属性绑定、事件绑定和v-modal底层都是通过指令(directive)实现的,那么什么是指令呢?我们一起看看Directive的定义吧。

技术牛 技术牛 2026-05-26
0 0 0
petite-vue-源码剖析-v-for重新渲染工作原理

petite-vue-源码剖析-v-for重新渲染工作原理

在《petite-vue源码剖析-v-if和v-for的工作原理》我们了解到v-for在静态视图中的工作原理,而这里我们将深入了解在更新渲染时v-for是如何运作的。 逐行解析

技术牛 技术牛 2026-05-26
0 0 0
petite-vue源码剖析-事件绑定`v-on`的工作原理

petite-vue源码剖析-事件绑定`v-on`的工作原理

在书写petite-vue和Vue最舒服的莫过于通过@click绑定事件,而且在移除元素时框架会帮我们自动解除绑定。省去了过去通过jQuery的累赘。而事件绑定在petite-vue中就是一个指令(directive),和其他指令类似。 深入v-on的工作原理 wal

技术牛 技术牛 2026-05-26
0 0 0
1 137 138 139 140 141 1,109