Notes and the code for the React.js crash course by Mosh Hamedani.
This repository contains notes and the code for the brilliant React.js crash course by Mosh Hamedani.
<App />
, document.getElementById("root"));<h1></h1><h2></h2>
.<li>
to help react decide what's changed which is unique to each list element. Or 'key' attribute in every react element that's rendered dynamically using a 'map' for each element in a collection.&&
<JSX>
}onClick={ () => this.handleClick(product) }
<ComponentName />
).<Counter><h1></h1></Counter>
<h1></h1>
.Common use cases