https://courses.reacttraining.com/courses/advanced-react-free
-
Imperative vs. Declarative, "extending" React
Making use of react lifecycle to make declarative API (from imperative lib). non-dom, nothing-to-render component. e.g.<Sound />
,<Tone />
,<D3 />
- nice: declarative > imperative.
- maybe? component tree with non-DOM component. e.g.
sound(LifeCycleComponent, {isPlaying, pitch, frequency})
-
Implicit State with Compound Components and cloneElement
Making use ofReact.Children.map
to inject props to children,