title: Why React Native < Text > component does not show Boolean props?
body: <p>Using RN standard &lt; Text > component with this code I see <strong>"Debug mode: "</strong> text only (but expected: <strong>"Debug mode: true"</strong>).</p>
  
  <pre><code>class ClassName extends Component {
  
    static propTypes = {
      debug: PropTypes.bool
    };
  
    render() {
      return (
        &lt;View style={...}&gt;
          &lt;Text&gt;Debug mode: {this.props.debug}&lt;/Text&gt;
        &lt;/View&gt;
      )
    }
  }
  
  const mapStateToProps = (state) =&gt; {
    console.log(typeof(state.debug); //boolean
    return {
      debug: state.debug
    }
  }
  
  export default connect(mapStateToProps)(ClassName);
  </code></pre>
  
  <p>Screenshot:</p>
  
  <p><a href="https://i.stack.imgur.com/pMWlA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/pMWlA.png" alt="enter image description here"></a></p>
  
  <p>As described above "state.debug" is Boolean type:</p>
  
  <pre><code>console.log(typeof(state.debug)); //boolean
  </code></pre>
  
  <p>The question - why Boolean props does not shown/rendered?</p>