I am declaring a component inside of a parent component. I want to establish specific props in one file, and then in the parent component, I want to be able to establish the oth
You can use a conditional render statement to only render the child when the props are populated:
let {foo, bar} = this.props; { foo && bar ? : null }
Or instead of null you could render a or something.
null