Skip to content

Switch to Vite #41

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

Merged
merged 5 commits into from
Feb 12, 2025
Merged

Switch to Vite #41

merged 5 commits into from
Feb 12, 2025

Conversation

GrahamSH-LLK
Copy link
Contributor

@GrahamSH-LLK GrahamSH-LLK commented Feb 11, 2025

Resolves #40

Rationale

Create React App is legacy software that has been unmaintained for years, and is deprecated by Meta. Vite has quickly become the new standard for standalone React apps like this. It provides modern, maintained, and widely-used tooling to replace Create React App.

This PR replaces CRA with Vite. It also fixes/replaces the testing harness (it was broken previously). These changes should be self-explanatory for the most part, but feel free to ask if anything isn't.

It also adds testing and building in CI. I would have added this as a separate PR, but testing was previously broken and setup is slightly different with this PR.

Copy link
Collaborator

@alan412 alan412 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pulled it down and verified that it worked, but I am leaving it up to @lizlooney to approve because I don't know what drove the original choice of CRA.

@alan412
Copy link
Collaborator

alan412 commented Feb 12, 2025

I checked with both @lizlooney and @bhjelstrom and they are fine with moving to Vite, so I'll go ahead and merge.

@alan412 alan412 merged commit 284d67f into wpilibsuite:main Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate off create react app
3 participants