All language subtitles for 010 Project Component Architecture_en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
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
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,420 --> 00:00:01,650 Hey, it's Andre here. 2 00:00:01,920 --> 00:00:06,950 I want to talk quickly about architecting our components in our final project. 3 00:00:07,560 --> 00:00:12,980 If you remember, one of the key things that we want to do is to decide on components. 4 00:00:13,290 --> 00:00:19,420 So as we move through the course, I want you to always have a mental image of what we're building and 5 00:00:19,420 --> 00:00:25,980 then how things are connected, because how things are connected and how we pass down information from 6 00:00:25,980 --> 00:00:32,100 component to component, because at the end of the day, it's all a tree like structure of the virtual 7 00:00:32,100 --> 00:00:32,390 don. 8 00:00:32,790 --> 00:00:34,410 That's really, really important. 9 00:00:34,680 --> 00:00:38,760 So make sure you don't get lost as we move through different components back and forth. 10 00:00:39,850 --> 00:00:45,910 Now, here's my tip for you to better understand how things are connected, what you want to do, and 11 00:00:45,910 --> 00:00:49,780 I have a version of the website here that will actually go into built. 12 00:00:49,780 --> 00:00:52,630 So there are some things here that you probably won't have yet. 13 00:00:53,020 --> 00:01:02,800 But what you want to do is to open up your developer tools and use the react developer tools now in 14 00:01:02,800 --> 00:01:03,260 here. 15 00:01:03,730 --> 00:01:06,740 This is a good way to see how components are connected. 16 00:01:07,240 --> 00:01:13,030 For example, if I scroll all the way up and keep in mind that you'll see components here that we haven't 17 00:01:13,030 --> 00:01:13,780 talked about yet. 18 00:01:14,380 --> 00:01:17,470 But the key thing is that we have our app component. 19 00:01:18,370 --> 00:01:23,650 We have our header, so if we scroll up, we see that we're going to build a header component if we 20 00:01:23,650 --> 00:01:24,970 keep scrolling down. 21 00:01:25,970 --> 00:01:27,830 We see we have our homepage. 22 00:01:28,800 --> 00:01:34,860 And then if we keep scrolling down, we have our directory, which is the items that we have on our 23 00:01:34,860 --> 00:01:40,620 home page, and then within the directories we have what we call the menu items. 24 00:01:41,460 --> 00:01:47,580 And the menu item component, as you can see, is these individual components that we can link to. 25 00:01:48,180 --> 00:01:55,500 And each time we can see what props we receive from higher above like directory, for example, and 26 00:01:55,500 --> 00:01:56,550 so on and so forth. 27 00:01:57,860 --> 00:02:03,770 So you want to use the Riak developer tools to understand how things are connected if within your code 28 00:02:03,770 --> 00:02:04,920 you start getting confused. 29 00:02:05,240 --> 00:02:13,490 Keep in mind the reason that we organize our folders the way they are is so that it's easy for us to 30 00:02:13,490 --> 00:02:15,770 look at our app and understand how things are working. 31 00:02:15,800 --> 00:02:21,890 For example, right now we know that we have pages and at the moment we only have one page, which is 32 00:02:21,890 --> 00:02:25,070 the homepage, but eventually we'll build the shop page as well. 33 00:02:25,760 --> 00:02:30,560 If we go back and look at our components, we have some components here that we haven't built yet, 34 00:02:31,010 --> 00:02:34,980 but we have the directory, which is our homepage and then the menu items that we saw. 35 00:02:35,420 --> 00:02:41,210 We're also going to start building our collection preview and collection items, and those ones are 36 00:02:41,210 --> 00:02:43,540 going to be what we call these things. 37 00:02:44,330 --> 00:02:46,490 These, again, if I inspect them. 38 00:02:48,040 --> 00:02:49,630 And open up, react. 39 00:02:52,000 --> 00:02:54,220 You'll see that this is a collection item. 40 00:02:56,080 --> 00:03:01,170 So these are our collections and these are the items, if I scroll up, I see that this entire thing 41 00:03:01,180 --> 00:03:02,290 is surrounded in the. 42 00:03:03,490 --> 00:03:04,810 Collection component. 43 00:03:05,950 --> 00:03:11,000 So, again, I can go back to the folder and understand that, OK, this is the collection item and 44 00:03:11,000 --> 00:03:17,440 the collection preview is probably what we're building to display the collection items that groups the 45 00:03:17,450 --> 00:03:18,310 collection items. 46 00:03:18,880 --> 00:03:21,220 So start looking at the folder structures. 47 00:03:22,280 --> 00:03:27,260 And understand how things are connected, because eventually by the end of this course, we're going 48 00:03:27,260 --> 00:03:28,630 to have a lot of things. 49 00:03:28,640 --> 00:03:36,110 If we look at the components folder, yep, we have a lot of components and it's easy to get lost in 50 00:03:36,110 --> 00:03:38,960 all this component connections. 51 00:03:39,350 --> 00:03:41,750 But again, that's why react developer tool exists. 52 00:03:42,940 --> 00:03:49,270 And it's also what makes a great volp, you need to make sure that as we move along, that these component 53 00:03:49,270 --> 00:03:56,500 structures make sense to you and you notice the small things that you are does to keep things very simple 54 00:03:56,500 --> 00:04:04,060 and small in each component and keeping each one specific to its concert, doing one thing really, 55 00:04:04,060 --> 00:04:04,530 really well. 56 00:04:05,890 --> 00:04:06,510 Let's move on. 5541

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