Riverpod Refs

Use Ref and WidgetRef to read, watch, listen, invalidate, and refresh providers; onDispose and onCancel lifecycle; ref.read vs ref.watch vs ref.listen, ref.invalidate and ref.refresh. Use when interacting with Riverpod providers from widgets or other providers, when to use watch vs read, or when resetting provider state. Use this skill whenever the user asks about ref.watch, ref.read, ref.listen, ref.invalidate, or Riverpod lifecycle.

majiayu000 c1c0124 2 files · 4.2 KB Updated 567 repo stars

File contents

majiayu000/claude-skill-registry-data/tree/main/development/riverpod-refs commit c1c0124b26

Frequently asked questions

npx skillmds add majiayu000/riverpod-refs