Fully converts a React class component to modern hooks with proper lifecycle mapping.
Refactor this React class component into a functional component using React Hooks. Apply these transformations: - Replace this.state and this.setState with useState hooks - Convert lifecycle methods (componentDidMount, componentDidUpdate, componentWillUnmount) to useEffect hooks with proper dependency arrays - Replace this.props with destructured props parameter - Convert class methods to const functions or useCallback where appropriate - Replace createRef with useRef - Preserve all existing functionality, event handlers, and conditional rendering - Add TypeScript types for props and state if not already present - Ensure cleanup functions are added to useEffect where necessary (event listeners, subscriptions, timers)
Select the entire class component, then run this prompt in Copilot Chat.
A Microsoft AI engineering prompt-building tool for Azure OpenAI, Microsoft Copilot, GitHub Copilot, Microsoft Foundry, RAG applications, and AI solution development.
A Windows-friendly AI agent coding and prompting workbench for Codex, Claude Code, Cursor, Antigravity, Copilot, MCP, safe GitHub workflows, prompt engineering, and student-friendly agentic coding experiments.
AI tools guide for developers: ChatGPT, Claude, Gemini, Grok, Cursor, GitHub Copilot, prompt engineering, AI agents and productivity.
Structured code review using GitHub Copilot. Security audit, performance analysis, test coverage assessment, and PR review checklists for production codebases.
End-to-end meeting productivity with M365 Copilot. Covers pre-meeting prep, real-time notes, action item extraction, and automated follow-ups across Teams and Outlook.
Create a type-safe state machine with transitions, guards, actions, and visualization support using XState patterns.
Workflows from the Neura Market marketplace related to this CoPilot resource