Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:02,040 --> 00:00:05,990
‫Let's take a closer look at the frontend, the client side, the browser side,
2
00:00:06,150 --> 00:00:11,730
‫I will use these terms interchangeably by the way and that of course is powered by React,
3
00:00:11,760 --> 00:00:18,280
‫specifically there, we build a React SPA, a single page application.
4
00:00:18,280 --> 00:00:25,410
‫Now this simply means that React is in charge of re-rendering everything in the browser,
5
00:00:25,410 --> 00:00:27,090
‫only one HTML
6
00:00:27,090 --> 00:00:35,280
‫page, that single page that makes up this term single page application, is served from some server to the browser
7
00:00:35,280 --> 00:00:41,580
‫in the end and thereafter, React takes over and whenever something needs to be drawn onto the screen
8
00:00:41,640 --> 00:00:46,560
‫or whenever something needs to change on the screen or needs to be re-rendered, React will do that.
9
00:00:47,220 --> 00:00:53,670
‫For that, we'll also handle frontend or client side routing with an extra library, react-router-dom
10
00:00:54,120 --> 00:01:00,810
‫and this will help us render totally different React components, React is all about components, you
11
00:01:00,810 --> 00:01:07,710
‫will by the way also get a React refresher in one of the next modules. So the React router will help
12
00:01:07,710 --> 00:01:15,990
‫us render React components based on a path the user enters into the URL bar of the browser. So we
13
00:01:15,990 --> 00:01:22,860
‫will have the feeling of having multiple pages but in the end, it's all React and therefore Javascript
14
00:01:23,100 --> 00:01:31,770
‫re-rendering significant parts of our page, so of what the user sees when we change the URL or when
15
00:01:31,770 --> 00:01:34,830
‫we get new data from the backend and so on.
16
00:01:35,220 --> 00:01:43,170
‫Now in our React application, we also typically handle some frontend state, state in the end is data
17
00:01:43,180 --> 00:01:48,710
‫you could say that influences what is shown on the screen and when our state changes,
18
00:01:48,810 --> 00:01:54,780
‫chances are that we want our re-render parts of the screen. React is all about managing such state and
19
00:01:54,780 --> 00:02:00,780
‫it has built-in mechanisms to automatically re-render the parts of the screen that need to change when
20
00:02:00,780 --> 00:02:01,980
‫something changes.
21
00:02:01,980 --> 00:02:09,780
‫Now for state management, we can use React state, in class based components we can use hooks, a relatively
22
00:02:09,870 --> 00:02:17,160
‫kind of new feature in React and/or also for application-wide state, the Redux library.
23
00:02:17,160 --> 00:02:24,180
‫Now as I mentioned, you will get a refresher on React later in the course but I will not dive into every
24
00:02:24,180 --> 00:02:28,180
‫aspect of React, that would be enough for its own course
25
00:02:28,200 --> 00:02:33,780
‫and indeed I do have such a standalone React course which I strongly recommend that you have a look
26
00:02:33,780 --> 00:02:36,120
‫at before you dive into this course.
27
00:02:36,120 --> 00:02:42,630
‫Now one other important part of your React application are of course all these components you build because
28
00:02:42,630 --> 00:02:48,720
‫React is all about components and how you style those, so the styling is also part of the frontend
29
00:02:48,720 --> 00:02:53,550
‫work or of the frontend application, that your application looks good.
30
00:02:53,550 --> 00:02:59,250
‫Now as I mentioned, for the routing we'll use react-router-dom and there we can basically set up a
31
00:02:59,250 --> 00:03:06,030
‫route configuration and then define which React components are rendered for which path. We can implement
32
00:03:06,030 --> 00:03:12,270
‫state management with React hooks, with our custom hooks which will also build throughout this course and/or
33
00:03:12,270 --> 00:03:16,320
‫with Redux and for components and styling,
34
00:03:16,320 --> 00:03:23,070
‫we will build in this course some utility and UI components, though I will also say that throughout this
35
00:03:23,070 --> 00:03:30,270
‫course, I will also provide some finished UI components to you and some finished styles so that we don't
36
00:03:30,270 --> 00:03:38,280
‫spend the majority of the time of this course on writing basic button or input components and managing
37
00:03:38,280 --> 00:03:45,490
‫the style of these components because that's really not the core of React and of this course and therefore
38
00:03:45,490 --> 00:03:51,330
‫some finished components will be provided to you for this part, in general of course, we'll build
39
00:03:51,390 --> 00:03:58,050
‫the entire React application from scratch though and this is what React is about, it's all related to
40
00:03:58,050 --> 00:04:02,710
‫the frontend, how we update it and when things should change there.
41
00:04:02,790 --> 00:04:04,290
‫Now let's have a look at the backend.
5238
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.