Skip to content
This repository has been archived by the owner on Dec 19, 2017. It is now read-only.

React is in development mode in compiled builds #3486

Closed
iwehrman opened this issue Jan 9, 2016 · 1 comment
Closed

React is in development mode in compiled builds #3486

iwehrman opened this issue Jan 9, 2016 · 1 comment

Comments

@iwehrman
Copy link
Contributor

iwehrman commented Jan 9, 2016

Even in compiled builds, the Download the React DevTools for a better development experience message appears in the console, which implies that React is running in development mode, doing things like gathering runtime statistics, checking propTypes, etc., that it should only be doing in debug builds. Among other places, there is discussion of this in facebook/react#3877. This is a regression from the recent require-webpack conversion.

@baaygun
Copy link
Contributor

baaygun commented Jan 11, 2016

Thank you @iwehrman for catching and fixing this.

@baaygun baaygun closed this as completed Jan 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants