React (software): Difference between revisions

Content deleted Content added
Basic usage: let -> const, no reassignment
Line 33:
return <h1>{props.greeting}</h1>;
}
letconst App = <Greeter greeting="Hello, World!" />;
ReactDOM.render(App, document.getElementById('myReactApp'));
</script>