Reading 21 - morgan-401-advanced-javascript/seattle-javascript-401n14 GitHub Wiki

Read

react basics recap

Images

props.children

My simple explanation of what this.props.children does is that it is used to display whatever you include between the opening and closing tags when invoking a component.

browser router tutorial

Each router creates a history object, which it uses to keep track of the current location 1 and re-render the website whenever that changes. The other components provided by React Router rely on having that history object available through React’s context, so they must be rendered as descendants of a router component. A React Router component that does not have a router as one of its ancestors will fail to work.

Skim

composition vs inheritance

Bookmark

browser router api docs