Now that's it for this section.
Now we learned how we can use React context
in a Next.js application.
And the simple truth is, there's nothing special to it.
If you paid close attention, we just used React context,
as we would use it in any kind of React application.
There was nothing Next.js specific
and that's the great thing.
It just works.
There's nothing specific we have to do,
nothing we have to keep in mind,
we can just get started using React context
and we can then use it to manage
some application wide state.
Here I'm using the Context API,
We could have also used Redux in a similar way
that would have also worked.
And that's the key take away from this section.
You just use context as you're used to,
in this case,
we are using it to have that better user feedback
when we are signing up for a newsletter
or when we are submitting a comment.