Something I stumble upon is understanding how to use Material-UI tabs. I found many posts but each target a different version of material-UI and each give a completely different way of implementation.
The web application I an creating is an analytical dashboard. I have 3 parts on the page.
- An Appbar
- main body
- footer
In the main body part I want to have a tabs component and dashboard component. Selecting different tab will display different dashboard component.
I started with the default Tabs component which didn’t display it right, and then I read that I need to do it using React Router, but then it depends on which router version I use.
It might be that my SPA understanding is also lacking as to why I should involve router when using Tabs.
My setup: Latest React 16.x Latest React -router 4.x Latest Material-UI 1.0.3 Using Redux as well