The idea behind a single page application is a single HTML file. We want to show the user different pages for different paths.
This is possible by using a router package through which we can render different pages for different paths.
It does 3 main things:
- Parses URL/Path
- Read config: which path are supported and what happens if user visists it.
- Render/Load appropriate JSX/Component.