Higher Order Component

Inject props or do side effects to a component.

View Source Code

<DummyComponent content={'This is a dummy component'} number={1} />

Log generated: (or check on your own)

============== COMPONENT LOG: DummyComponent

/higher-order-component

Object { number: 1, content: "This is a dummy component" }