Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:02,120 --> 00:00:04,840
Now that's it for this section.
2
00:00:04,840 --> 00:00:07,810
Now we learned how we can use React context
3
00:00:07,810 --> 00:00:10,270
in a Next.js application.
4
00:00:10,270 --> 00:00:14,960
And the simple truth is, there's nothing special to it.
5
00:00:14,960 --> 00:00:19,510
If you paid close attention, we just used React context,
6
00:00:19,510 --> 00:00:23,630
as we would use it in any kind of React application.
7
00:00:23,630 --> 00:00:27,130
There was nothing Next.js specific
8
00:00:27,130 --> 00:00:28,690
and that's the great thing.
9
00:00:28,690 --> 00:00:30,230
It just works.
10
00:00:30,230 --> 00:00:32,830
There's nothing specific we have to do,
11
00:00:32,830 --> 00:00:34,550
nothing we have to keep in mind,
12
00:00:34,550 --> 00:00:38,170
we can just get started using React context
13
00:00:38,170 --> 00:00:40,180
and we can then use it to manage
14
00:00:40,180 --> 00:00:42,810
some application wide state.
15
00:00:42,810 --> 00:00:45,010
Here I'm using the Context API,
16
00:00:45,010 --> 00:00:48,220
We could have also used Redux in a similar way
17
00:00:48,220 --> 00:00:50,360
that would have also worked.
18
00:00:50,360 --> 00:00:53,360
And that's the key take away from this section.
19
00:00:53,360 --> 00:00:56,550
You just use context as you're used to,
20
00:00:56,550 --> 00:00:57,640
in this case,
21
00:00:57,640 --> 00:01:01,730
we are using it to have that better user feedback
22
00:01:01,730 --> 00:01:04,390
when we are signing up for a newsletter
23
00:01:04,390 --> 00:01:07,053
or when we are submitting a comment.
1727
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.