ai-agent

redux-batched-actions

redux higher order reducer + action to reduce actions under a single subscriber notification
1,035 stars32 forksJavaScriptUpdated 3/27/2024100% free · open source
What it does

Redux-batched-actions reduces multiple Redux actions into a single subscriber notification, improving performance by minimizing the number of times your application's state is updated and re-rendered.

When to use it
  • •When your application performs multiple state updates in a short period, causing excessive re-renders.
  • •When you need to optimize the performance of your Redux application by reducing the number of actions dispatched.
  • •When you want to simplify your application's state management by batching similar actions together.
Ready-to-paste prompt
batchActions([action1, action2, action3]) to dispatch multiple actions as a single batch.
Heads up: When using redux-batched-actions, make sure your reducer handles the batched action correctly by checking the 'meta.batch' property, which indicates that the action is part of a batch.
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

✅ Light setup

Installs with a command or two; your AI agent can do it for you.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/redux-batched-actions && curl -fsSL https://workflowstacks.com/api/skills/redux-batched-actions/claude-skill -o ~/.claude/skills/redux-batched-actions/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How redux-batched-actions works
Codeflow
Free to inspect

Redux-batched-actions is a tiny JavaScript project (~40 lines across 2 code files, plus 1 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit 31 months ago, MIT license, has a test suite.

Size
Tiny codebase
~40 lines · 2 code files · 2 min skim
Setup
One-command install
Installs like a normal app. Reading the code is optional.
Runs on
Node.js
No API keys detected
JavaScript 100%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    src/index.js
    Where the program starts running
  3. 3
    package.json
    Dependencies and the commands it exposes
What's in each folder
src/Core code — the actual logic2 files
.circleci/Tool / agent settings1 files
test/Tests — proof it works1 files
READMEHas testsThin docsCI checksMIT licenseLast update 31 mo ago
Quick Actions
Details
Creator
tshelburne
Language
JavaScript
Category
ai-agent
Published
10/19/2015

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/redux-batched-actions.svg)](https://workflowstacks.com/skills/redux-batched-actions?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.