Since our application is going to contain multiple pages, we'll have to set up the routing.
And in order to set up our router, we'll use the React Router library.
More specifically, the latest version of React Router Library.
So in the previous course iteration we used React router six, but the React router 6.4 brought significant
changes.
And therefore in this course iteration, of course we'll use the latest version.
Now, more specifically, it brought loaders and actions.
Now there's other things as well.
But in my opinion at least, those are the main ones.
Effectively, loaders allow us to preload the data something really cool.
And actions allow us to handle the form submissions.
And of course, we'll cover both of these in great detail in the upcoming videos.
And as far as my general overview of the main differences between the 6.4 and Up React router and the
previous version is that you'll need to create more pages for your project.
And also pages are going to be independent entities.
As a result, there's really less need for global state.
So if you remember the previous course iteration, we built a quite extensive.
Context API file.
And in there we're actually referencing the reducer, which of course we set up using the use reducer
hook.
But in this particular application.
So in this course iteration, actually we'll have way less global state values.
I believe we'll have 2 or 3 because there's really no need.
And this is this interesting tradeoff where with the latest version of React Router, essentially we
will set up more pages, but there's less need for the global state.
At least that's my general overview.
Of course, as you start working with the library, you might have different opinion, but I definitely
want to share this one because I found it a very interesting concept.
And once we're done with the general overview.
Up next, let's actually create our first pages.