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

Update to React 19 (?) #37

Open
davidje13 opened this issue Dec 7, 2024 · 0 comments
Open

Update to React 19 (?) #37

davidje13 opened this issue Dec 7, 2024 · 0 comments
Labels
refactor This will make the code nicer

Comments

@davidje13
Copy link
Owner

Updating is painless, but causes a significant increase in build size:

React 18:
Frontend code size:      273.2kB /   87.8kB gzip /   76.7kB brotli

React 19:
Frontend code size:      313.4kB /   99.7kB gzip /   86.3kB brotli

(40kB extra uncompressed, ~10kB extra compressed)

For now there's no great advantage to updating, so stick to 18. This issue can be used to track places where 19 would be beneficial to see if it becomes worthwhile in the future.

Alternatively it may be worth switching to preact for significant bundle size savings.

@davidje13 davidje13 added the refactor This will make the code nicer label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor This will make the code nicer
Projects
None yet
Development

No branches or pull requests

1 participant