Answer the question
In order to leave comments, you need to log in
How to add multiple renders on 1 page?
The bottom line is, there is a profile page, everything works fine.
It has other tabs, such as settings, and so on.
I don't want to create new components.
How to take a subpage from the same component?
Answer the question
In order to leave comments, you need to log in
a component can have only one render method, you need conditional rendering https://reactjs.org/docs/conditional-rendering.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question