How to inject into React Component props?
<p>The only way I know to inject props into a component is through a parent component  like so</p>

<pre><code>render() {
  return &lt;Child ...this.someProps /&gt;
}
</code></pre>

<p>How do I inject more props to the <code>Child</code> component dynamically through a function like so</p>

<pre><code>inject(someProps, Child)
</code></pre>

<p>Similar to how redux-react <code>connect(mapStateToProps, mapDispatchToProps)(Child)</code> works</p>