nebraska
nebraska copied to clipboard
Upgrade React Redux and React
React 19 migration and dependency updates
This PR implements several changes to prepare for and complete the React 19 migration:
-
React 19 Upgrade:
- Updated React and React DOM to v19.1.0
- Updated corresponding TypeScript type definitions
- Modified test snapshots to accommodate React 19 format changes (replaced colon-based IDs with angle bracket format)
-
TypeScript Improvements:
- Replaced
JSX.Elementwith more specificReactElementtype - Migrated PropTypes to TypeScript interfaces across multiple components
- Removed deprecated PropTypes imports and declarations
- Replaced
-
Dependency Updates:
- Upgraded Redux Toolkit from v2.6.1 to v2.8.2
- Updated react-redux from v7.2.4 to v9.2.0
- Adjusted snapshot tests for MUI class name changes
-
Cleanup:
- Removed unused icon prop in GroupList
- Cleaned up type definitions and component interfaces
How to use
- Verify all tests pass:
npm test - Check storybook components for rendering issues:
npm run storybook - Pay special attention to components that were converted from PropTypes to TypeScript
Testing done
- Ran full test suite:
npm run test(all tests pass) - Verified storybook rendering:
npm run storybook(no visual regressions) - Checked application functionality:
- Group list rendering and interactions
- Package management flows
- Instance list operations
- Modal dialogs functionality