WEBVTT

00:00.280 --> 00:03.680
Now let's continue with remote reactions.

00:03.840 --> 00:04.320
Okay.

00:05.800 --> 00:17.400
So right here after we remove reaction to decrease the reaction from the database.

00:17.640 --> 00:18.240
Right.

00:18.360 --> 00:24.040
And with this information we need to send back for the client.

00:24.320 --> 00:25.840
And that will be enough.

00:27.280 --> 00:31.280
I will come over here right.

00:31.920 --> 00:36.400
And from here we actually have same.

00:37.280 --> 00:39.840
So I will go save boss.

00:40.480 --> 00:42.120
And we need to emit the event.

00:42.240 --> 00:42.680
Right.

00:43.880 --> 00:45.440
So I will call this dot.

00:47.600 --> 00:48.040
Boss.

00:48.040 --> 00:51.640
Gateway dot handle remote reaction.

00:52.440 --> 00:56.080
And we only need to send the save boss.

00:56.360 --> 00:58.640
Before that, make sure you convert it.

01:23.080 --> 01:23.840
And let's.

01:25.960 --> 01:27.320
Create this method.

01:38.440 --> 01:42.960
Retrieval workshop with the boss over here.

01:45.640 --> 01:47.760
Let me console.log.

01:56.920 --> 01:57.600
Right now.

02:02.210 --> 02:07.530
Let my cloth inside, remove reactions and copy the array.

02:11.050 --> 02:11.730
Over here.

02:18.330 --> 02:18.850
Okay.

02:19.770 --> 02:23.050
And we just need to say before that, let me say.

02:28.210 --> 02:32.410
Let me say and let's check the terminal.

02:36.570 --> 02:41.890
Now you can say right here we already admit.

02:47.530 --> 02:50.130
But Y is still here.

02:50.970 --> 02:54.250
Let me try to let on reactions.

03:03.730 --> 03:05.330
Let me try to get on a bus.

03:06.930 --> 03:11.130
Let me say right here that we already zero.

03:14.410 --> 03:17.170
It means right here.

03:22.530 --> 03:25.690
Is not work is not work.

03:25.690 --> 03:29.170
When we say an entire response.

03:30.490 --> 03:35.690
Okay, so we have so many way, right.

03:42.170 --> 03:42.770
Follow.

03:42.770 --> 03:44.690
We can try to find.

03:47.370 --> 03:48.250
A new one.

03:54.890 --> 03:55.290
Ah.

03:57.450 --> 03:59.330
Uh, now, what about the reason?

03:59.340 --> 04:00.580
because we need to vote.

04:00.580 --> 04:03.260
The one option we knew would be true.

04:03.380 --> 04:08.580
Okay, with this information it will update the site was okay.

04:09.940 --> 04:12.180
It will return a new real one.

04:12.220 --> 04:12.700
Okay.

04:12.980 --> 04:13.820
It will output.

04:13.820 --> 04:15.340
The new will be true.

04:15.460 --> 04:17.380
It will return the old ones.

04:17.740 --> 04:19.580
So for that reason, it will not.

04:20.780 --> 04:23.420
You will not say, let me try again.

04:23.780 --> 04:28.540
I will add a reaction to this thing and I get on boss.

04:29.340 --> 04:29.660
Okay.

04:29.660 --> 04:32.220
We already had a headway with one.

04:32.500 --> 04:35.860
And let me click on remove and check the terminal.

04:35.900 --> 04:36.420
Okay.

04:36.700 --> 04:39.460
Send us and check the terminal.

04:40.540 --> 04:44.620
Now here you can say we already got a reaction count.

04:45.140 --> 04:45.740
We will have.

04:45.740 --> 04:47.060
We will be zero.

04:47.900 --> 04:52.940
So it means we are already done with the remove reaction.

04:53.540 --> 05:00.020
And I hope you understand this video and I will see you in the next one.
