title: No `render` method found on the returned component instance
body: <p>I have initialized the basic react-native app by the command <code>react-native init DummyProject</code> and try to compile and run it. but its giving me an error on debug console</p>
  
  <pre><code>Warning: AppContainer(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.
  </code></pre>
  
  <p>and</p>
  
  <pre><code>TypeError: instance.render is not a function
  
  This error is located at:
      in AppContainer (at renderApplication.js:33)
  </code></pre>
  
  <p>The code and error my application is in this picture
  <a href="https://i.stack.imgur.com/w6Kx5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w6Kx5.png" alt="The code and error my application is in this picture"></a></p>
  
  <p>I am experiencing this error even after removing node_modules and again installing the modules.
  Making another app won't work either. Same error is occurring in every situation</p>
  
  <p>The code of my App.js</p>
  
  <pre><code>import React, { Component } from "react";
  import { Text, View } from "react-native";
  
  export default class App extends Component {
    constructor() {
      super();
      this.state = {
        value: 1
      };
    }
    render() {
      return (
        &lt;View&gt;
          &lt;Text&gt;HELLO {this.state.value}&lt;/Text&gt;
        &lt;/View&gt;
      );
    }
  }
  </code></pre>
  
  <p>index.js</p>
  
  <pre><code>import { AppRegistry } from "react-native";
  import App from "./App";
  import { name as appName } from "./app.json";
  
  AppRegistry.registerComponent(appName, () =&gt; App);
  </code></pre>
  
  <p>package.json</p>
  
  <pre><code>{
    "name": "DummyProject",
    "version": "0.0.1",
    "private": true,
    "scripts": {
      "start": "node node_modules/react-native/local-cli/cli.js start",
      "test": "jest"
    },
    "dependencies": {
      "react": "16.6.1",
      "react-native": "0.57.5"
    },
    "devDependencies": {
      "babel-jest": "23.6.0",
      "jest": "23.6.0",
      "metro-react-native-babel-preset": "0.49.2",
      "react-test-renderer": "16.6.1"
    },
    "jest": {
      "preset": "react-native"
    }
  }
  </code></pre>