Answer the question
In order to leave comments, you need to log in
Rendering a component based on a condition?
Let's say there is a component that is inserted into the layout like this:
<div>
<SomeComponent />
</div>
if (условие) {
///отрисовался
} else {
///не отрисовался
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question