274. Observing Different Types of Responses
Сөйләүчеләр
Бөлүмнәр
-
0:01Гыйбрәт 1: Thus far, we always were only interested in the response data of our request, right? 91s · Speaker 1
Thus far, we always were only interested in the response data of our request, right? For example, when we fetch the posts, we get the response data, we map that and we return the subscription and then we use that data in the component. Noth…
-
1:33Гыйбрәт 2: Now, let's see what this is. 299s · Speaker 2
Now, let's see what this is. We are already logging the response data or whatever we get back here in the console, so we should see that when we add a new post. So let's simply enter some content here. Doesn't matter. Let's send that post. …
-
6:34Гыйбрәт 3: then you can't access the body. 56s · Speaker 1
then you can't access the body. Here you actually have only the type, but you could do something else. You could update something in the UI to basically inform the user that the request was now sent and you're waiting for the response. So t…