Deep Watch and Immediate Callback Execution in Vue.js
Basic Watch Usage
For a list page that requires automatic search when users input keywords, you can use watch to monitor search value changes instead of relying solely on input change events.
<template>
<div>
<div class="search-container">
<label>Search</label>
<input v-model="qu ...
Posted on Tue, 07 Jul 2026 17:05:37 +0000 by poelinca
Reactive Side-Effects with Vue 3 Watchers
Vue 3’s watch API lets you run arbitrary code whenever a reactive value changes. Its the reactive system’s hook for side-effects—loggging, validation, network requests, or synchronizing related state.
Listening to a single ref
<template>
<p>Counter: {{ count }}</p>
<button @click="count++">Increment</but ...
Posted on Wed, 03 Jun 2026 17:54:37 +0000 by pingu
Understanding Redis Pub/Sub Messaging and Transaction Management
Concept Overview
Redis Publish/Subscribe (Pub/Sub) implements a messaging paradigm where senders (publishers) transmit messages to channels, and receivers (subscribers) listen for messages on those channels. A single Redis client can subscribe to multiple channels simultaneously. When a message is published to a channel, all active subscribers ...
Posted on Sun, 24 May 2026 19:27:18 +0000 by theda