evolve-and-diagnose-redux-apps/migrate-to-modern-redux
reduxjs · Development
用于将旧版Redux代码库迁移至当前RTK模式。涵盖用configureStore替代createStore、将受影响的reducers迁移至createSlice、借助codemod进行RTK 2更新,以及用RTK Query替代服务端数据栈,避免重写旧版Redux代码。
Use this when moving a legacy Redux codebase to current RTK patterns. Covers replacing createStore with configureStore, migrating touched reducers to createSlice, codemod-assisted RTK 2 updates, and replacing server-data stacks with RTK Query instead of writing new legacy Redux code.
npx skills add https://github.com/reduxjs/redux-toolkit --skill migrate-to-modern-redux
星标 11216 · 安装量 0