Tagged articles
2 articles
Page 1 of 1
JavaScript
JavaScript
Jun 22, 2025 · Frontend Development

Master Vue3 Advanced Techniques: Composable Functions, customRef & shallowRef

This article introduces two powerful Vue3 techniques—Composable functions and customRef/shallowRef usage—to deepen understanding of Vue's reactivity, improve code organization, and enable efficient debouncing and performance optimization in frontend development.

ComposableDebounceFrontend
0 likes · 5 min read
Master Vue3 Advanced Techniques: Composable Functions, customRef & shallowRef
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Jan 17, 2025 · Frontend Development

Advanced Vue 3 Reactive APIs: shallowRef, triggerRef, customRef, shallowReactive, toRaw, markRaw, and shallowReadonly

This article explains several advanced Vue 3 reactivity APIs—including shallowRef, triggerRef, customRef, shallowReactive, toRaw, markRaw, and shallowReadonly—detailing their differences from standard refs, performance benefits, usage patterns, and providing complete TypeScript code examples for each.

FrontendReactivityVue3
0 likes · 11 min read
Advanced Vue 3 Reactive APIs: shallowRef, triggerRef, customRef, shallowReactive, toRaw, markRaw, and shallowReadonly