title: react native use let or var inside render method
body: <p>Why i cant use javascript in jsx? I can only use things like array.map or filter. But if want to use more than one statement it does not work.</p>
  
  <pre><code>import React, { Component } from 'react';
  import { Text } from 'react-native';
  
  export default class HelloWorldApp extends Component {
    render() {
      return (
        {
           let a = 5
           if(a==5){return &lt;Text&gt;hello&lt;/Text&gt;}
        }
      );
    }
  }
  </code></pre>