Use Vite instead of create-react-app #1539
Labels
breaking-change
A breaking change which introduces changes to the public APIs
frontend
Frontend related functionality
improvement
Improvement to existing functionality
Milestone
Describe the improvement you would like to see
I would like use to try and use something other than create-react-app, since it has not been updated in 2 years. This means that it will not support new version of Typescript, including Typescript 5 which is already out. A potential alternative is Vite.
Here is the website: https://vitejs.dev/
And here is some relevant example code: https://vite.new/react-ts
How will this change existing functionality?
It will allow the frontend to be more updated in terms of its packages. There may also be new features in Vite that were not in create-react-app, which we will be able to make use of. We did not use a large feature set in create-react-app, so we should first start by making an equivalent basic Vite setup.
I am giving it the breaking-change label even though it might not necessarily affect other PRs.
How will this improvement affect the current Threat Model?
It will improve it as we will be able to keep our packages updated.
The text was updated successfully, but these errors were encountered: