1
00:00:02,000 --> 00:00:04,000
Now that's it for this section.

2
00:00:04,000 --> 00:00:07,000
Now we learned how we can use React context

3
00:00:07,000 --> 00:00:10,000
in a Next.js application.

4
00:00:10,000 --> 00:00:14,000
And the simple truth is, there's nothing special to it.

5
00:00:14,000 --> 00:00:19,000
If you paid close attention, we just used React context,

6
00:00:19,000 --> 00:00:23,000
as we would use it in any kind of React application.

7
00:00:23,000 --> 00:00:27,000
There was nothing Next.js specific

8
00:00:27,000 --> 00:00:28,000
and that's the great thing.

9
00:00:28,000 --> 00:00:30,000
It just works.

10
00:00:30,000 --> 00:00:32,000
There's nothing specific we have to do,

11
00:00:32,000 --> 00:00:34,000
nothing we have to keep in mind,

12
00:00:34,000 --> 00:00:38,000
we can just get started using React context

13
00:00:38,000 --> 00:00:40,000
and we can then use it to manage

14
00:00:40,000 --> 00:00:42,000
some application wide state.

15
00:00:42,000 --> 00:00:45,000
Here I'm using the Context API,

16
00:00:45,000 --> 00:00:48,000
We could have also used Redux in a similar way

17
00:00:48,000 --> 00:00:50,000
that would have also worked.

18
00:00:50,000 --> 00:00:53,000
And that's the key take away from this section.

19
00:00:53,000 --> 00:00:56,000
You just use context as you're used to,

20
00:00:56,000 --> 00:00:57,000
in this case,

21
00:00:57,000 --> 00:01:01,000
we are using it to have that better user feedback

22
00:01:01,000 --> 00:01:04,000
when we are signing up for a newsletter

23
00:01:04,000 --> 00:01:07,000
or when we are submitting a comment.

