CopilotHub
SearchPromptsInstructionsAgentsToolsMCPs
  1. Home
  2. Prompts
  3. Refactor Redux to Redux Toolkit
Back to Prompts

Refactor Redux to Redux Toolkit

Simplify Redux boilerplate using Redux Toolkit.

category:modernization
react
redux
redux-toolkit
frontend
0

Prompt

Refactor this Redux logic to use Redux Toolkit.

Use:
- createSlice for reducers + actions
- createAsyncThunk for async flows
- Immer-powered immutable updates
- configureStore for middleware + devtools

Remove:
- Hand-written action creators
- Large switch statements

Provide before/after code for at least one slice.

Related Prompts

View all →

Update Gradle build for Spring Boot 3

Update build.gradle with Spring Boot 3 plugin and Jakarta EE compatible dependencies.

spring-bootgradlebuild+4

Update Maven dependencies for Spring Boot 3

Update pom.xml with Spring Boot 3 dependencies and Jakarta EE compatible libraries.

spring-bootmavenbuild+4

Verify Spring Boot 3 dependency compatibility

Check and verify all third-party dependencies are compatible with Spring Boot 3.

spring-boottestingverification+5

Create Spring Boot 3 migration test suite

Generate comprehensive test cases to verify Spring Boot 2→3 migration success.

spring-boottestingtest+4

Update JPA entity mappings for Hibernate 6

Update JPA entity mappings and annotations for Hibernate 6 compatibility.

spring-boothibernatejpa+6

Fix Hibernate 6 JPQL query parsing issues

Resolve Hibernate 6 stricter JPQL query parsing errors and update query syntax.

spring-boothibernatejpa+6
Browse More Prompts

CopilotHub

A curated collection of prompts, instructions, agents, and tools for AI-powered development.

Quick Links

  • Prompts
  • Instructions
  • Agents
  • Tools
  • MCPs
  • Search

Browse by Category

  • Code Generation
  • Debugging
  • Documentation
  • Refactoring
  • Testing
  • Security

Legal

  • Guidelines
  • About
  • Privacy Policy
  • Terms of Service

Community

GitHub

© 2026 CopilotHub.