/crwn-clothing-v2-forked

Version 2 of Crwn-Clothing! — forked

Primary LanguageJavaScript

Clothing App with React

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.

Routing

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. Leaving index as it is equals to index={true}. Therefore, using index there's no need to specify a path for the home component.