React Only return props.children
<p>All:</p>

<p>I am pretty new to React, I wonder how can I build a logic only component without adding any element(only used to processing some data), something like:</p>

<pre><code>class LogicCom extends Component {
    constructor(props){super(props);this.props = props;}
    render(){
        return (
            {this.props.children}
        )
    }
}
</code></pre>