compcomp: component composition - 401-advanced-javascript-aimurphy/seattle-javascript-401n13 GitHub Wiki
RE-CACTP (REACT + RECAP) or, the stuff you shoulda known by now
1. component life-cycle
2. H-O co's
higher order components
3. state and [don't touch it anymore use] setState
4. react context aka global state
5. stay up to date
props.children
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.
BROW-ROW (browser router)
React Router has been broken into three packages: react-router (you'll almost never install direct), react-router-dom(for browser), and react-router-native (for react native use).
You should almost never have to install react-router directly. That package provides the core routing components The latter two provide environment specific components, but they both also re-export all of react-router's exports.
So you're building a website?
npm i --save react-router-dom