; this.state.name - constructor(){this.state = ""}; for(const[index, value] of elements.entries()){} - petla(pamietajmy o 'key')">
| App() | komponent |
| Heading extends React.Component | do Klas |
| constructor () {super();} | Konstruktor |
| this.props.title | <Heading title=""> |
| this.state.name | constructor(){this.state = ""} |
| for(const[index, value] of elements.entries()){} | petla(pamietajmy o 'key') |
| czym są | moduły Css |
| import styles from './CompanyName.module.css' | x |
| montowanie komponentu, czyli wstawianie do drzewa DOM | mounting |
| aktualizacja komp. jesli zmieni sie stan | update |
| demontowanie komponentu | unmount |