abiriadev/seia

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

Opened this issue · 0 comments

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