All language subtitles for 009 Project Files + Modules_en

af Afrikaans
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,760 --> 00:00:01,839 Hey, it's Andre here. 2 00:00:02,140 --> 00:00:07,600 Before we move on, I want to make sure that we understand some of the files and also what we did in 3 00:00:07,600 --> 00:00:13,180 the previous video with some conflicts that we had, especially installing notes, says what really 4 00:00:13,180 --> 00:00:13,770 happened there? 5 00:00:14,500 --> 00:00:21,550 First off, when we start a project, we always have a node modules folder that comes built in with 6 00:00:21,760 --> 00:00:22,420 a reactor. 7 00:00:22,780 --> 00:00:26,980 Now, this node modules folder is quite massive. 8 00:00:27,010 --> 00:00:30,220 As you can see, we have a ton of packages. 9 00:00:30,640 --> 00:00:36,280 These are all the libraries that create reactor app uses underneath the hood. 10 00:00:36,860 --> 00:00:38,590 You remember the reactor scripts. 11 00:00:38,980 --> 00:00:46,690 If we go all the way down to package Dodgson, you see that we have all these dependencies, but all 12 00:00:46,690 --> 00:00:50,380 of them are using the script star James like. 13 00:00:50,380 --> 00:00:56,170 So now EQR uses yarn versus what I use, which is NPM. 14 00:00:57,080 --> 00:01:02,720 And you see over here that we have different versions instead of our yarn log file, for example, have 15 00:01:02,720 --> 00:01:06,740 the package log file, so why you use is up to you. 16 00:01:07,800 --> 00:01:13,370 The key thing to remember is that node modules contains not only all the libraries that we're going 17 00:01:13,370 --> 00:01:19,490 to install throughout the course, but also libraries that create react up uses underneath the hood, 18 00:01:19,670 --> 00:01:23,010 like the just package, which allows us to do some testing. 19 00:01:23,820 --> 00:01:28,100 Now, the thing is, all these packages seems like a lot. 20 00:01:28,400 --> 00:01:34,010 And what Kery racked up tries to do is to create an idea like environment. 21 00:01:34,220 --> 00:01:37,970 That is, it allows us to do testing Lanting and all these things. 22 00:01:37,970 --> 00:01:44,930 And most of these packages are only used during development when we actually ship our code and we build 23 00:01:44,960 --> 00:01:45,450 our code. 24 00:01:45,680 --> 00:01:47,840 Most of these packages won't make it through. 25 00:01:48,080 --> 00:01:54,170 Only the code that is absolutely needed for the app and not for development are going to be included 26 00:01:54,170 --> 00:01:54,720 in this bill. 27 00:01:55,190 --> 00:02:01,520 So some people complain that this node modules folder is way too big, but at the end of the day, it's 28 00:02:01,520 --> 00:02:07,490 big because Create React app tries to make our environment for developing apps pleasant. 29 00:02:08,240 --> 00:02:14,000 Now, the issue that we saw with Node SACE happened because of this package just. 30 00:02:15,450 --> 00:02:21,270 But let's talk about that a little bit more, because as you develop apps, as you work with react, 31 00:02:21,270 --> 00:02:27,450 you're going to encounter this issues of dependency and dependency management between libraries is a 32 00:02:27,450 --> 00:02:28,210 big problem. 33 00:02:28,230 --> 00:02:28,650 So. 34 00:02:29,600 --> 00:02:29,990 Now. 35 00:02:32,100 --> 00:02:40,350 React, since Version 2.0 comes with SAS support, which we saw, all we had to do was install node 36 00:02:40,350 --> 00:02:48,120 SAS using NPM Orien and we're able to use SAS files so that create react, uptakes our SAS files, convert 37 00:02:48,120 --> 00:02:50,210 them into CSFs, into that built folder. 38 00:02:50,850 --> 00:02:53,430 But what happened when we installed this? 39 00:02:54,300 --> 00:02:59,270 The air that you saw with IWA is something that you'll encounter as you work with react. 40 00:02:59,400 --> 00:03:03,120 So I'm going to show you how to better understand the issue. 41 00:03:04,350 --> 00:03:09,870 See, the first thing I would do if I encounter a problem like that is I would Google for it, for example, 42 00:03:09,870 --> 00:03:15,090 notes Asara with racked up Bable just conflict, which was what the error we got. 43 00:03:15,490 --> 00:03:21,900 And if I go to the second link here, which says Riak scripts, Bable just versioned conflict, which 44 00:03:21,900 --> 00:03:23,520 sounds like the conflict that we're having. 45 00:03:24,620 --> 00:03:31,360 And right over here, as we expected, it's an open issue with a reactor where reactor scripts Bable 46 00:03:31,370 --> 00:03:32,690 just version is complicated. 47 00:03:33,410 --> 00:03:38,900 And as a developer, you want to start getting good at finding these issues and going to GitHub repositories 48 00:03:38,900 --> 00:03:41,200 and see if anybody else has had this issue with you. 49 00:03:41,690 --> 00:03:46,190 And it looks like this person had pretty much the same issue that we saw. 50 00:03:47,510 --> 00:03:52,460 So the beauty is that you can actually read through this, I understand why the issue is happening, 51 00:03:53,270 --> 00:03:59,360 how you can fix it and what other people have done if you actually scroll all the way down. 52 00:04:00,860 --> 00:04:05,660 You can see that this issue should be resolved when this is released. 53 00:04:07,070 --> 00:04:14,900 So we click over here and we see that, yeah, maybe ACTTAB just merged on May 7th, which isn't that 54 00:04:14,900 --> 00:04:20,209 far off from what I'm recording this video, a fix for this so that this issue doesn't happen. 55 00:04:20,209 --> 00:04:23,870 So most likely by the time you're watching this video, you won't encounter this. 56 00:04:24,110 --> 00:04:30,380 But I want you to start thinking in terms of if you encounter an issue, most likely somebody else has 57 00:04:30,380 --> 00:04:30,730 had it. 58 00:04:30,770 --> 00:04:32,330 So Google it around. 59 00:04:32,330 --> 00:04:37,790 And usually in a project like create react up, you'll find open issues. 60 00:04:38,000 --> 00:04:42,860 You have three hundred and three issues open right now and eighty five people requests. 61 00:04:43,100 --> 00:04:44,520 So you want to start getting good at that. 62 00:04:45,200 --> 00:04:47,030 Now, another thing I want to talk about. 63 00:04:48,840 --> 00:04:53,210 Is this package lock file if you're using yarn? 64 00:04:53,250 --> 00:04:54,990 It'll be a yarn lock file. 65 00:04:55,680 --> 00:05:00,640 This is used because our project most likely won't run on our computer. 66 00:05:00,660 --> 00:05:04,410 Most likely we're going to once we're done with the project, we're going to send it off to a server 67 00:05:04,440 --> 00:05:05,010 somewhere. 68 00:05:05,190 --> 00:05:07,980 So that project runs on a different computer. 69 00:05:09,330 --> 00:05:13,080 When a user opens the app on a browser, it runs on their computer. 70 00:05:13,410 --> 00:05:19,440 So our code, although when we code along, is in our own environment, on our own laptop. 71 00:05:20,600 --> 00:05:26,180 In real life, when people actually use your app, they won't be using it from your computer, right? 72 00:05:26,390 --> 00:05:34,550 So package lock files allow us to have consistent installs across machines so that all these dependencies 73 00:05:34,940 --> 00:05:40,400 have the exact version number that they need in order for everything to work. 74 00:05:40,430 --> 00:05:41,960 It's like everything is intertwined. 75 00:05:42,290 --> 00:05:47,990 This file is what we use or at least what create, react app uses. 76 00:05:47,990 --> 00:05:52,910 So it knows exactly what dependencies and what thing works with what. 77 00:05:53,420 --> 00:06:01,640 Just like we have Bable, just that was needed for both nosers as well as for that create react app 78 00:06:01,640 --> 00:06:04,000 because both of them use it to test their code. 79 00:06:04,670 --> 00:06:10,760 Now in a couple of videos, we'll actually see how it solves this problem another way, using something 80 00:06:10,760 --> 00:06:12,950 called the resolution property. 81 00:06:13,490 --> 00:06:16,080 And this is something that's only specific to yarn. 82 00:06:16,130 --> 00:06:22,910 So if you have NPM that isn't available for you, but again, that's just something that you most likely 83 00:06:22,910 --> 00:06:23,510 won't encounter. 84 00:06:23,520 --> 00:06:25,040 But we wanted to show you anyway. 85 00:06:26,520 --> 00:06:32,130 Remember, you can always read more about these things at the website documentation, you want to start 86 00:06:32,130 --> 00:06:34,740 getting really, really good at debugging your own code. 87 00:06:35,310 --> 00:06:40,650 Finally, the last file I want to talk about is this file that we just removed, which was service worker. 88 00:06:41,430 --> 00:06:44,610 Now, this comes pre-built with racked up. 89 00:06:45,530 --> 00:06:50,720 And it's mainly used for what we call progressive web apps, and we're going to talk about that later 90 00:06:50,720 --> 00:06:51,470 on in the course. 91 00:06:51,890 --> 00:06:57,440 Service worker file allows us to make our app what we call progressive again. 92 00:06:57,560 --> 00:06:59,750 For now, we don't need to worry about this. 93 00:06:59,750 --> 00:07:05,090 But I do want to let you know that we are going to come back to it and talk about what service worker 94 00:07:05,090 --> 00:07:07,580 is doing because it has some really neat features. 95 00:07:08,510 --> 00:07:10,970 All right, that's it for now after the next video. 9534

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.