Skip to content

React is running in production mode, but dead code elimination has not been applied #31

@abiriadev

Description

@abiriadev

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions