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 is running in production mode, but dead code elimination has not been applied #31

Open
abiriadev opened this issue Jun 9, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@abiriadev
Copy link
Owner

Describe the bug
Seia shows the following log on the browser:

Uncaught Error: React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://react.dev/link/perf-use-production-build
    at hook.js:167:17

To Reproduce
Steps to reproduce the behavior:

  1. build a new seia app
  2. start the SSR server
  3. open the browser
  4. open the devtool console

Expected behavior
Seia should follow React's guide for production build.

Screenshots
image

@abiriadev abiriadev added the bug Something isn't working label Jun 9, 2024
@abiriadev abiriadev self-assigned this Jun 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

1 participant