fix: update descriptions for React migration agents to ensure proper formatting (#1344)

This commit is contained in:
Saravanan Rajaraman
2026-04-10 06:40:21 +05:30
committed by GitHub
parent c037695901
commit d7c16e6ed2
10 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
---
name: react18-batching-fixer
description: Automatic batching regression specialist. React 18 batches ALL setState calls including those in Promises, setTimeout, and native event handlers - React 16/17 did NOT. Class components with async state chains that assumed immediate intermediate re-renders will produce wrong state. This agent finds every vulnerable pattern and fixes with flushSync where semantically required.
description: 'Automatic batching regression specialist. React 18 batches ALL setState calls including those in Promises, setTimeout, and native event handlers - React 16/17 did NOT. Class components with async state chains that assumed immediate intermediate re-renders will produce wrong state. This agent finds every vulnerable pattern and fixes with flushSync where semantically required.'
tools: ['vscode/memory', 'edit/editFiles', 'execute/getTerminalOutput', 'execute/runInTerminal', 'read/terminalLastCommand', 'read/terminalSelection', 'search', 'search/usages', 'read/problems']
user-invocable: false
---