DEV Community

Discussion on: Simple Hello World in React

Collapse
 
tedhagos profile image
Ted Hagos

Hi, nice job. Couple of suggestions;

Instead of making the code-part italics, you could probably use the code-fence syntax of Markdown. It improves readability; so that that code reads like this

import React from "react";
class App extends React.Component{
render{ return( /.../ )}
}
export default App; 

instead of like this

import React from "react";
class App extends React.Component{
render{ return( /.../ )}
}
export default App;

Collapse
 
rajaomalalasendra profile image
RajaomalalaSendra

Thanks for the advice.