I have inspected my converted code and i have seen that true is converted to !0
Example:
let obj = {
loading: true
}
Is converted to:
let obj = {
loading: !0
}
Why is that? Is it because of performance reason or because something else?
For minifaction, ie: smaller bundle size. See also: babel-plugin-transform-minify-booleans
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With