H
H
heIIfire2017-08-24 14:24:24
React
heIIfire, 2017-08-24 14:24:24

How to return multiple components at once?

class A extends Component {
render(){
return(
// how to return multiple components here? like
);
}
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Alexandrovich, 2017-08-24
@heIIfire

import First from "./first"
import Second from "./second"
class A extends Component {
render(){
return(
// как здесь возвращать несколько компонентов? типо 
<div>
<First>
<Second>
</div
);
}
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question