Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from CRA to Vite #6684

Closed
ad1992 opened this issue Jun 15, 2023 · 2 comments
Closed

Migrate from CRA to Vite #6684

ad1992 opened this issue Jun 15, 2023 · 2 comments
Assignees
Labels

Comments

@ad1992
Copy link
Member

ad1992 commented Jun 15, 2023

We would like to migrate from CRA to Vite due the a couple of reasons

  • The Build time of Vite is significantly faster the CRA
  • Hot Module Replacement(HMR) is faster in Vite as compared to CRA
    **Vite doesn't have strict path rule that you cannot import anything outside src folder line CRA. Due to this restriction we have not been able to decouple a lot of code outside src directory.
  • CRA is no longer maintained and not recommended in official docs

Here is a nice article about metrics in Vite vs CRA. We should try out and check how it works for us to understand better

Initial attempt to integrate Vite in #6441 by @wesbragagt

Shippped in #6713 and #6818

@ad1992 ad1992 added the build label Jun 15, 2023
@ad1992 ad1992 mentioned this issue Jun 22, 2023
19 tasks
@ad1992 ad1992 self-assigned this Jun 23, 2023
@codingmickey
Copy link

codingmickey commented Jul 31, 2023

Hey @ad1992 does this need any help.. I guess this has been completed right? via #6713

@ad1992
Copy link
Member Author

ad1992 commented Aug 1, 2023

Yes this was shippped in #6713 and #6818

@ad1992 ad1992 closed this as completed Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

2 participants