This is a repository for teaching how to use React Router by migrating already existed project, which is the Country Finder.
Tip
It would be wise if you try to do this exercise by yourself with TA first before do branch checkout to see solution ahead of time
It will consist in 3 parts, each part that being checked out represents that final result of what it should be in each state.
- (Branch
part0-start
) A starting state, unedited, non-refactor code. - (Branch
part1-refactored
) A state where existing app has been refactored, and reorganized. - (Branch
part2-main-page
) A state where we've attached React Router to just the front page. - (Branch
part3-finsished
) A final form of migrated application.