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

fix: Removed the comma when building a react app #17801

Closed
wants to merge 2 commits into from
Closed

fix: Removed the comma when building a react app #17801

wants to merge 2 commits into from

Conversation

gavinabu
Copy link

@gavinabu gavinabu commented Aug 1, 2024

Description

In the main.ts/main.js file on the line </React.StrictMode> there is an unneeded comma there. I'm not sure why it's there. Does not cause any errors or anything. I wonder how many vite apps were built and published with that comma there. This also saves 1 byte of precious storage, in total these commas have taken up 14 megabytes of storage over all downloads. There are plenty of pull requests to look through some are useful and some are well... a comma. Ta taa

Copy link

stackblitz bot commented Aug 1, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@gavinabu gavinabu changed the title Removed the comma when building a react app FIX: Removed the comma when building a react app Aug 1, 2024
@gavinabu gavinabu changed the title FIX: Removed the comma when building a react app fix: Removed the comma when building a react app Aug 1, 2024
@bluwy
Copy link
Member

bluwy commented Aug 1, 2024

The comma is from our formatter, as shown in CI.

@bluwy bluwy closed this Aug 1, 2024
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.

2 participants