In my ReactJS app I have a lot of Routes (React-Router dependency). They are sub-divided in alumno and admin. Both the student and admin template have a few common elements.
- In the case of student: Header, student menu, CONTENT, footer;
- In the case of administrator: Header, student menu, CONTENT, footer;
So, in this example, I would have to have two templates, one for student and one for administrator. How could I create a template where only the CONTENT was dynamic and the rest static?. In other words, CONTENT would be what React-Router loads me (dynamic), while both header, menu and footer remains for all pages (it's for all the same, no reloading, static).
Thank you.