-


also observe that the dataflow is from the parent component to the child



Download 8,6 Mb.
Pdf ko'rish
bet21/37
Sana18.01.2022
Hajmi8,6 Mb.
#383795
1   ...   17   18   19   20   21   22   23   24   ...   37
Bog'liq
Designing Applications with Spring Boot 2.2 and React JS Step-by-step guide to design and develop intuitive full stack web applications by Dinesh Rajput (z-lib.org)

also observe that the dataflow is from the parent component to the child
component.
Figure 8.9: A tree hierarchy of React components
The React components can be defined using the traditional JavaScript methods
or using the ES6 JavaScript class. Let’s see the following JavaScript function:
// Using JavaScript function
const HelloProdos = function(props) {
   return (
   
Welcome, hello there PRODOS.
   );
}
The preceding JavaScript code does the following things:
The preceding code creates an anonymous JavaScript function and it assigns it to a constant as HelloProdos.
This JavaScript function has only one statement, return.
This statement returns the JSX code to represent a view using the HTML

Download 8,6 Mb.

Do'stlaringiz bilan baham:
1   ...   17   18   19   20   21   22   23   24   ...   37




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish