riverpod-select
OfficialOptimize Riverpod rebuilds with select.
Authorserverpod
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses unnecessary widget rebuilds in Riverpod by allowing you to watch only specific parts of a provider's state, improving application performance.
Core Features & Use Cases
- Selective State Watching: Use
ref.watch(provider.select(...))to subscribe to only a subset of a provider's state. - Performance Optimization: Reduces rebuilds when only a small portion of a larger state object changes.
- Use Case: When a widget displays a user's name from a large
Userobject, and the user's address (another field in theUserobject) changes frequently,selectprevents the widget from rebuilding unnecessarily.
Quick Start
Use the riverpod-select skill to watch only the 'firstName' property of the 'userProvider'.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: riverpod-select Download link: https://github.com/serverpod/skills-registry/archive/main.zip#riverpod-select 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.