73
rated 0 times
[
80]
[
7]
/ answers: 1 / hits: 115433
/ 8 Years ago, wed, february 17, 2016, 12:00:00
Is it possible to detect whether the current version of React is development or production at runtime? I'd like to do something like this:
if (React.isDevelopment) {
// Development thing
} else {
// Real thing
}
More From » reactjs