v2-renderer
CommunityMigrate renderer data access to v2 with confidence.
Authorduderine
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Refactor the renderer's data layer to replace Redux-based selectors and dispatch with v2 data hooks (useQuery, useMutation, usePreference, useCache), enabling safer, typed IPC communication with the main process.
Core Features & Use Cases
- Replaces classic Redux patterns with modern v2 hooks: useQuery for data fetching, useMutation for mutations, and usePreference/useCache for settings and ephemeral UI state.
- Supports multi-window architectures by coordinating with PreferenceService and CacheService across windows while keeping a single source of truth in the main process.
- Provides migration guidelines for moving existing components from Redux to v2, with examples spanning data access, settings, and transient UI state.
Quick Start
Refactor a Redux-based renderer component to use v2 hooks (useQuery, useMutation, usePreference, useCache) and IPC services, then run the renderer tests.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: v2-renderer Download link: https://github.com/duderine/CherryStudio/archive/main.zip#v2-renderer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.