Environments
__DEV__
__DEV__
is a pseudo-global variable in the codebase to guard development-only code.
// will only log in dev environment if (__DEV__) { console.error('Something is wrong.'); }
__DEV__
__DEV__
is a pseudo-global variable in the codebase to guard development-only code.
// will only log in dev environment if (__DEV__) { console.error('Something is wrong.'); }