Asyncredux flutter hooks

From marcglasberg/async_redux · View interactive version

Asyncredux flutter hooks is an AI agent skill from the GitHub repository marcglasberg/async_redux. Subscribe to AsyncRedux state in an existing flutter_hooks app using flutter_hooks_async_redux.

How to use this skill

Skill file

Select state with Flutter Hooks

For an app already using HookWidget and Flutter Hooks, use the

useSelector<T, AppState> hook from flutter_hooks_async_redux to subscribe

to a portion of the store. Call it unconditionally during build, following hook

ordering rules. A typed app hook can fix AppState and forward the selector

and distinct option. Use pure selectors and select only what the widget renders.

Keep action dispatch in callbacks. Standard AsyncRedux widgets can use the typed

context.select and context.read extension without integrating a hooks package.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.