1
00:00:00,000 --> 00:00:05,000
So, what is NextJS and why would you use it?

2
00:00:06,000 --> 00:00:11,000
Well, the answer is NextJS is a React framework,

3
00:00:12,000 --> 00:00:15,000
so it builds up on React.js,

4
00:00:15,000 --> 00:00:18,000
and you therefore, of course, might wonder,

5
00:00:18,000 --> 00:00:20,000
why do we need it?

6
00:00:20,000 --> 00:00:24,000
After all, React.js is already a library itself.

7
00:00:24,000 --> 00:00:26,000
Why do we need another framework

8
00:00:26,000 --> 00:00:30,000
that builds up on React.js?

9
00:00:30,000 --> 00:00:35,000
Well, because NextJS is a full stack React framework,

10
00:00:36,000 --> 00:00:39,000
so it simplifies the process

11
00:00:39,000 --> 00:00:42,000
of building full stack apps with React.

12
00:00:42,000 --> 00:00:45,000
And that's a huge thing,

13
00:00:45,000 --> 00:00:50,000
because recently, over the last couple of months and years,

14
00:00:50,000 --> 00:00:53,000
there's been a trend to go back

15
00:00:53,000 --> 00:00:56,000
to building full stack applications

16
00:00:56,000 --> 00:01:00,000
instead of just client-side single page applications.

17
00:01:00,000 --> 00:01:03,000
And indeed, the React library itself

18
00:01:03,000 --> 00:01:05,000
added more and more features

19
00:01:05,000 --> 00:01:09,000
that make it a bit easier to run React on the server

20
00:01:09,000 --> 00:01:14,000
and render components on the server specifically.

21
00:01:14,000 --> 00:01:16,000
But that's typically not all you need

22
00:01:16,000 --> 00:01:19,000
if you want to build a full stack application.

23
00:01:19,000 --> 00:01:21,000
Instead, if you wanna build

24
00:01:21,000 --> 00:01:25,000
a complete, feature-rich full stack application,

25
00:01:25,000 --> 00:01:28,000
you also need help with handling form submissions,

26
00:01:28,000 --> 00:01:31,000
fetching data, authenticating users,

27
00:01:31,000 --> 00:01:34,000
and a lot of other things.

28
00:01:34,000 --> 00:01:37,000
And that's exactly what NextJS gives you.

29
00:01:37,000 --> 00:01:39,000
So, it builds up on React

30
00:01:39,000 --> 00:01:43,000
and then vastly simplifies the process

31
00:01:43,000 --> 00:01:47,000
of building full stack applications with React.

32
00:01:47,000 --> 00:01:51,000
Therefore, in order to use NextJS,

33
00:01:51,000 --> 00:01:54,000
and in order to build applications with NextJS,

34
00:01:54,000 --> 00:01:58,000
you need a solid React foundation.

35
00:01:58,000 --> 00:02:00,000
You need to know React,

36
00:02:00,000 --> 00:02:03,000
because you'll still be building components and so on.

37
00:02:03,000 --> 00:02:08,000
But then NextJS allows you to take your React skills

38
00:02:08,000 --> 00:02:11,000
to the next level, so to say,

39
00:02:11,000 --> 00:02:12,000
and it allows you

40
00:02:12,000 --> 00:02:15,000
to build full stack applications with React.

41
00:02:15,000 --> 00:02:18,000
And that's exactly what we'll do

42
00:02:18,000 --> 00:02:20,000
over the next couple of hours.

