I'm looking at react's tutorial page, and it shows:
import React, { Component } from 'react';
import { AppRegistry, Text } from 'react-native';
class HelloWorldApp extends Component {
  render() {
    return (
      <Text>Hello world!</Text>
    );
  }
}
AppRegistry.registerComponent('HelloWorldApp', () => HelloWorldApp);
                                             // ^ this part 
What does it means? Is it equal to:
function() {
  return HelloWorldApp
}
If it so, why not using:
HelloWorldApp 
directly?
 
    