To implement new features, run:
$ npm start
npm i
We're using React Router, aaaaaand:
- A Router will manage all routes in your app
- A Route should be considered a page
- A Link you use to navigate between Routes
this.props.children
is the place where your page is built, same asng-view
on angularjs
History is running behind the scenes. So let's disable #
hash from URL.
- Home: #/
- Page 1: #/page1
- Page 2: #/page2