React - Minified exception occurred

前端 未结 10 1419
离开以前
离开以前 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:02

    I FINALLY SOLVED THIS.

    If you're like me and ran that command to set NODE_ENV and it's literally never worked, check if you're linking to react.min.js instead of the full versions of the files.

    Link to the full versions and it should work like a charm. :D

提交回复
热议问题