I would like to ask a question:
in the react project, I wrote a component, for example, the component has a header, content and tail, and now it is used in the three pages of a br, but the b page and the c page do not need the header of the component.
is there any way to make the header of the component not displayed when you use the component in the 2 pages of the bjingc?
wants to determine whether the header of the component is first through the routing method, but how to get the routing information of the c3 pages of a _
or is there any other way to determine the 2 pages in bmaine c so that the header of the component is not displayed?