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

[React 19] #28985

Closed
goelharsh opened this issue May 3, 2024 · 1 comment
Closed

[React 19] #28985

goelharsh opened this issue May 3, 2024 · 1 comment
Labels

Comments

@goelharsh
Copy link

  1. Congested File Issue: Whenever we download the react package using yarn or node then there are a lot of file that get downloaded everytime and thereby making difficult for beginners to understand the code written inside the "src" file.
    If you can remove those packages, it will be helpful, also if you people provide an option that while the user want those files or not then it will be well and better.

  2. Optimization Issue while re-rendering the root web-page.

Everytime we reload the webpage the React.strictmode() runs twice and thereby reducing performance of web applications.

If you can remove the dev dependency, that is already been installed while downloading the web-pack.

@rickhanlonii
Copy link
Member

We ship the minimum number of files necessary to npm: https://www.npmjs.com/package/react/v/19.0.0-beta-04b058868c-20240508?activeTab=code

StrictMode only runs in DEV, so there's no impact on production applications.

@rickhanlonii rickhanlonii closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants