[Feat] Migrate CRA to Vite for Improved Performance
dimassibassem opened this issue · comments
Issue Overview:
This issue focuses on migrating our project from Create React App (CRA) to Vite, aiming for enhanced build performance and a smoother developer experience.
Benefits:
- Faster build times with Vite's optimized dependency graph.
- Real-time updates via Instantaneous Hot Module Replacement (HMR).
- Streamlined configuration and efficient bundling.
Tasks:
- Evaluate compatibility and plan migration strategy.
- Set up Vite environment and configurations.
- Migrate code incrementally while ensuring compatibility.
- Update dependencies for Vite integration.
- Test build performance and runtime responsiveness.
- Ensure HMR and smooth local development workflow.
- Update documentation to reflect changes.
Desired Outcome:
This migration to Vite should result in quicker builds and a more efficient development process. Assigning this issue to myself to lead the migration effort. Looking forward to the benefits Vite brings to the project.
This is great idea and I agree, however we are not going to focus on this update at this point in time., it's too large of a scope for only a few developers.
If and when we do this in the future, the stack will include:
NextJS or Vite
Vitest
Typescript
MongoDB w/Mongoose
Prisma
TailwindCSS
MUI/Material UI
Redux or Redis
and I would rather do everything at once instead of piece by piece anyhow.
This was discussed here: #132 and you are more than welcome to discuss this there. This sort of high level change (a lot of changes) should be discussed as a group/community and a decision must be made with everyone working on the project.