resources/src/index.js
/**
 *  Making our app's initialization a function means it's repeatable.
 */
Making our app's initialization a function means it's repeatable.
Making our app ' s initialization a function means it ' s repeatable .
function init() {
	title = render(<Title message='World'/>, document.querySelector('header'), title);
	list = render(<List fruits={fruits} />, document.querySelector('section'), list)
}
function init ( ) { title = render ( < Title message = 'World' / > , document . querySelector ( 'header' ) , title ) ; list = render ( < List fruits = { fruits } / > , document . querySelector ( 'section' ) , list ) }
Making our app's initialization a function means it's repeatable.
Making our app ' s initialization a function means it ' s repeatable .
// Render the title: // Render fruit list: