Skip to content

52 migrate frontend from next to vitereact#56

Merged
ENDERastronaute merged 18 commits into
mainfrom
52-migrate-frontend-from-next-to-vitereact
May 28, 2026
Merged

52 migrate frontend from next to vitereact#56
ENDERastronaute merged 18 commits into
mainfrom
52-migrate-frontend-from-next-to-vitereact

Conversation

@ENDERastronaute
Copy link
Copy Markdown
Collaborator

Migrates the frontend from NextJS (with "export" output) to Vite+Preact. This makes the app an SPA with client-side routing and a far lighter bundle size : 2.3MiB to 340KiB.

Breaking changes :
The app now uses the signal system instead of states. This improves the overall optimization by reloading only used parts instead of the whole component (when possible).

Dependency changes :

React and React-DOM -> preact and @preact/signals
Next -> Vite
Lucide-react -> Lucide-preact
@tanstack/react-virtual -> virtuo
Motion -> removed !
Bootstrap -> removed !

Closes #52 .

@ENDERastronaute ENDERastronaute self-assigned this May 25, 2026
@ENDERastronaute ENDERastronaute added the enhancement New feature or request label May 25, 2026
@ENDERastronaute ENDERastronaute linked an issue May 25, 2026 that may be closed by this pull request
@ENDERastronaute ENDERastronaute marked this pull request as draft May 25, 2026 12:37
@ENDERastronaute
Copy link
Copy Markdown
Collaborator Author

Styling changes are needed before merge to completely erase all bootstrap artifacts.

@ENDERastronaute
Copy link
Copy Markdown
Collaborator Author

Need to add an ID to all important elements to be able to test the app via E2E

@ENDERastronaute
Copy link
Copy Markdown
Collaborator Author

Need to add the toast list and modify it (used motion)

@ENDERastronaute ENDERastronaute marked this pull request as ready for review May 28, 2026 11:33
@ENDERastronaute ENDERastronaute merged commit 96dcaed into main May 28, 2026
2 checks passed
@ENDERastronaute ENDERastronaute deleted the 52-migrate-frontend-from-next-to-vitereact branch May 28, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate frontend from Next to Vite+React

1 participant