1 00:00:00,520 --> 00:00:01,000 Beautiful. 2 00:00:01,240 --> 00:00:07,030 And up next, we're going to build Hacker News app where we've got a search for him. 3 00:00:07,310 --> 00:00:15,370 So, of course, I can type something and we'll work with Hacker News API to fetch stories that reference 4 00:00:15,550 --> 00:00:16,240 the input. 5 00:00:16,450 --> 00:00:19,150 So in this case, I'm looking for that my default one. 6 00:00:19,340 --> 00:00:22,210 And of course, I'm getting stories about right now. 7 00:00:22,210 --> 00:00:28,240 If I'm not interested in particular story, I can just remove it from the UI or if I want to read more, 8 00:00:28,240 --> 00:00:32,730 of course, I click here and then I navigate to that specific story. 9 00:00:33,190 --> 00:00:42,100 And in this project will also implement server side pagination because remember, first project that 10 00:00:42,100 --> 00:00:45,070 we built with pagination was front and pagination. 11 00:00:45,190 --> 00:00:47,140 So this was done on client. 12 00:00:47,590 --> 00:00:53,830 And then when we worked with stock photos, this is the first app where we used server side pagination 13 00:00:54,220 --> 00:00:56,140 and the same is going to be over here. 14 00:00:57,440 --> 00:01:04,520 Essentially, notice the next unprime and I have amount of pages, so I'm clicking, well, this is 15 00:01:04,520 --> 00:01:06,600 a different page coming from the server. 16 00:01:06,980 --> 00:01:11,270 So once I click next, we fetch next page from the server again. 17 00:01:11,600 --> 00:01:16,460 I want I can remove stories from the UI or I can navigate to the story. 18 00:01:16,670 --> 00:01:21,590 But every time I increase or decrease, of course, on the front page. 19 00:01:21,930 --> 00:01:31,400 And what's also really in this application will combine use reducer with context API because it is very 20 00:01:31,400 --> 00:01:38,990 important that you're comfortable with user reducer, because as your apps get bigger, most likely 21 00:01:38,990 --> 00:01:48,380 you will opt in into using user reducer because it just gives a certain structure for your app. 22 00:01:48,950 --> 00:01:55,580 And that's why we will build this application using user reducer and context API.