I started with the create-react-app and am still using its build files. How do I disable redux-logger from logging in production (but keep it doing so in dev)?
if (process.env.NODE_ENV === 'development') {
// add `redux-logger`
}
Where is that? Grep is either returning me a lot of matches or none at all. :/
You need to add that code, but this question is better served for a React community like reactiflux or stack overflow.
If you share your code we might be able to help.
Most helpful comment