This is my main
branch of the forked project. I will put all the changes here.
The .lock
files are generated by package managers to determine for an application what version of all of these dependencies that we have inside are locked to in this project. Thus, the lock
file is a way for developers to make sure that all of the libraries a team uses are locked to the same version — or at least compatible versions.
There are two main routing libraries for React: react-router
or @reach/router
. For the integrity with this course, i will use react-router
.
- The
index
parameter in<Route />
tag makes sub-component — home component — shown default under the base component. Leavingindex
as it is equals toindex={true}
. Therefore, usingindex
there's no need to specify a path for the home component.