Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:02,100 --> 00:00:04,830
So this is it for this course section.
2
00:00:04,830 --> 00:00:06,750
We wrote quite a bit of code,
3
00:00:06,750 --> 00:00:08,580
added quite a bit of components.
4
00:00:08,580 --> 00:00:12,370
Most importantly, of course, a couple of page components.
5
00:00:12,370 --> 00:00:15,640
And hopefully all those core features,
6
00:00:15,640 --> 00:00:17,940
which we had a look at in this module,
7
00:00:17,940 --> 00:00:20,170
now make a lot of sense to you.
8
00:00:20,170 --> 00:00:23,720
It should be clear how routing works with Next.js.
9
00:00:23,720 --> 00:00:25,840
How these different page files
10
00:00:25,840 --> 00:00:28,290
are translated in different routes.
11
00:00:28,290 --> 00:00:30,450
How such slug routes work.
12
00:00:30,450 --> 00:00:34,290
And how the single dynamic parameter routes work.
13
00:00:34,290 --> 00:00:36,070
And how we can wire up
14
00:00:36,070 --> 00:00:38,930
all those different things with each other.
15
00:00:38,930 --> 00:00:40,790
It should always be clear now,
16
00:00:40,790 --> 00:00:44,130
how you can mix regular react components,
17
00:00:44,130 --> 00:00:47,640
which have no Next.js specific features in them,
18
00:00:47,640 --> 00:00:50,600
with Next.js page components.
19
00:00:50,600 --> 00:00:52,380
Which in the end are all the just
20
00:00:52,380 --> 00:00:54,500
regular react components though.
21
00:00:54,500 --> 00:00:56,600
Just treat it in a special way
22
00:00:56,600 --> 00:00:59,050
because they're in a special folder.
23
00:00:59,050 --> 00:01:02,440
We also again saw how we can use the useRouter hook
24
00:01:02,440 --> 00:01:04,110
to get access to the router.
25
00:01:04,110 --> 00:01:08,340
And through the router, either navigate programmatically
26
00:01:08,340 --> 00:01:12,720
or get access to data encoded in the URL.
27
00:01:12,720 --> 00:01:16,490
And how with all those features, we could make sure
28
00:01:16,490 --> 00:01:19,520
that we build a basic application like this.
29
00:01:19,520 --> 00:01:21,900
Now with all of that, we learned a lot,
30
00:01:21,900 --> 00:01:24,890
but we're still only scratching the surface.
31
00:01:24,890 --> 00:01:28,570
Because we now had a detailed look at file-based routing,
32
00:01:28,570 --> 00:01:32,330
which is one of the main features Next-js offers.
33
00:01:32,330 --> 00:01:35,890
Let's now also take a closer look at data fetching,
34
00:01:35,890 --> 00:01:38,813
another key Next-js feature.
2653
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.