DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
react native detect production
if (__DEV__) { console.log('Development'); } else { console.log('Production'); }
PREVIOUS
NEXT
Tagged:
#react
#native
#detect
#production
ADD COMMENT
Topic
COMMENT
Name
9+6 =
Submit