WEBVTT

1
00:00:00.000 --> 00:00:03.520
So one of the things just to kind of point out

2
00:00:03.520 --> 00:00:07.400
is when you are debugging apps, you can just go up here

3
00:00:07.400 --> 00:00:09.960
and you can see there's always warnings and then errors.

4
00:00:09.960 --> 00:00:15.640
So very similar for your console when you're in VS Code.

5
00:00:15.640 --> 00:00:18.320
And all of these are just telling you things like,

6
00:00:18.320 --> 00:00:20.360
oh, this is not supported in web.

7
00:00:20.360 --> 00:00:24.560
So you can still use it, but this particular feature

8
00:00:24.560 --> 00:00:25.960
is not supported in web.

9
00:00:25.960 --> 00:00:27.800
And so we just have it hidden.

10
00:00:27.800 --> 00:00:29.280
And so I mean, none of the warnings

11
00:00:29.280 --> 00:00:31.800
are really relevant to us right now.

12
00:00:31.800 --> 00:00:34.120
But when the errors pop up, they'll

13
00:00:34.120 --> 00:00:35.720
tell you exactly what the error is.

14
00:00:35.720 --> 00:00:37.080
And then if you click on it, it'll

15
00:00:37.080 --> 00:00:41.680
take you down into the component to fix.

16
00:00:41.680 --> 00:00:45.800
And then also, if there's a red error here,

17
00:00:45.800 --> 00:00:49.480
like if there's a 1 or a 2 up there and it's showing an error,

18
00:00:49.480 --> 00:00:54.080
you cannot build the app until it's fixed.

19
00:00:54.080 --> 00:00:56.520
So it doesn't even let you try to build it

20
00:00:56.520 --> 00:01:00.480
until you have all your bugs fixed.

21
00:01:00.480 --> 00:01:03.560
So that's just something to keep in mind.

22
00:01:03.560 --> 00:01:05.680
Off the top of my head, I'm trying to think,

23
00:01:05.680 --> 00:01:08.920
could I delete something and show you

24
00:01:08.920 --> 00:01:10.000
what that error looks like?

25
00:01:10.000 --> 00:01:11.880
But at this point, I don't want to break it.

26
00:01:11.880 --> 00:01:14.040
No, no, you shouldn't break it.

27
00:01:14.040 --> 00:01:19.280
But let's say I deleted a local state of something.

28
00:01:19.280 --> 00:01:23.000
That would then find all the places where that's now

29
00:01:23.000 --> 00:01:24.920
missing, and those will all show up as errors.

30
00:01:24.960 --> 00:01:27.360
And I would have to click on each one and update it.

31
00:01:27.360 --> 00:01:29.960
So in the next little section, what we'll do

32
00:01:29.960 --> 00:01:32.000
is we'll actually delete a variable,

33
00:01:32.000 --> 00:01:33.720
because we actually need to do that.

34
00:01:33.720 --> 00:01:37.000
And then I'll show you what that error log looks like.

35
00:01:37.000 --> 00:01:38.960
OK, cool.
