React (software): Difference between revisions

Content deleted Content added
Hello World: This code is incomplete. I am including an explanation of ReactJS states.
Hello World: added comment syntax
Line 211:
}
 
// skipSkip this line if using Create React Native App
AppRegistry.registerComponent('HelloWorld', () => HelloWorldApp);
 
// The ReactJS code can also be imported into another component with the following code:
 
import HelloWorldApp from './HelloWorldApp';