React - Minified exception occurred

前端 未结 10 1439
离开以前
离开以前 2020-12-09 07:54

I have React js installed via NPM and using browserify to manage components in react. When an exception occurs in React, the console shows as

\"Uncau

10条回答
  •  生来不讨喜
    2020-12-09 08:19

    use the min.js files in production or bundle your application code with process.env.NODE_ENV === 'production' and you should be good to go!

提交回复
热议问题