You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I'm trying to structure a React Ionic app and am struggling so was looking to this as a reference.
Why is this bit of code repeated for loads of components? Obviously you want it on all those pages, but shouldn't it just be rendered for all routes so you don't have to keep repeating it? <IonHeader> <IonToolbar> <IonButtons slot="start"> <IonMenuButton></IonMenuButton> </IonButtons> <IonTitle>Login</IonTitle> </IonToolbar> </IonHeader>
The text was updated successfully, but these errors were encountered:
Currently I'm trying to structure a React Ionic app and am struggling so was looking to this as a reference.
Why is this bit of code repeated for loads of components? Obviously you want it on all those pages, but shouldn't it just be rendered for all routes so you don't have to keep repeating it?
<IonHeader> <IonToolbar> <IonButtons slot="start"> <IonMenuButton></IonMenuButton> </IonButtons> <IonTitle>Login</IonTitle> </IonToolbar> </IonHeader>
The text was updated successfully, but these errors were encountered: