0% found this document useful (0 votes)
34 views

IP Endsem

Uploaded by

Suyash Malekar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
34 views

IP Endsem

Uploaded by

Suyash Malekar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 36
Luthat ic pws 2 Explato coos lyws Ox Damaln Name system 18 a custeno sed on th linteyneb to — human veadghle domdsn Dame ue a exitad LP add ecses P | tots » 400 Into { (QZ | tha {oan pore ucp.to identity uke leuclh others 3 eae like a phone book fomttyie Inbeynes , alloc) Users to access wepotes and semditec_aithovt * eeding to xememe® Complex iP addnoss?s- sts ORLS ra) lok 3. yes. @ lop addsesees that Gmpute ror On ‘Onde nstev 4 g USE [iss proce se oF translation © wokoP is called Drs xxecowtvon » ‘ul the pace pwocecs oF DS vesIUHYA folloco¢ folloasha steps 2 Lethe ucev Enters a webaddvess 0% donamaip pane {pto drowcee L 2. The browses sis a message’, ¢alled a yecursrve Das ‘Quesy ,tovthe netwosk to Pind oti@hich TP OF network addyers the domain -wsrecfapds to. 2 The queen Anes td’ wecurave DNS ceoxVver Which Lic also cubed 2 secoreive retplver, ANd osvaly d t Managed by interovt cusvice Provider (xSP) Ty the wCcosbive secalver nac addvess., yt will Wetvsn addyect to the ver & webpage cll load. Lt yeupavl PVS Sexvew does Cdt Hav € ancwery Jt wil 4vervy Acextec pe others Jesvers Into Nowy OF dEG § DVS FOOt Pam SexveTs, Jop-\eVel dome (MD. Dome senvess apd autharitanve name servers. | | sa The ynvee sevverss tYPes Cork HOg9tthes & paptihee._ j medireosN A ptt! the 4 retolveDus vecord Peed Coptasn GYoesited SP Addve TE sends Wis thd | { a ny } BE | . ; ty Ae TTT ot | a Q “welr , sy, 1 — “iyo tre xe orve ie ervey Bag ee teste | ¥ ooking tow loads- { fe — ip_KEST API in delarl | op State Troster (REST) is Op wet | 5 i gal Style that det ines a cet at Conct iain onc biter fo VOY 94 Vt Angst APL isa way of 4 eon b vice Tn occ ple® Seabee way without heevilo 4 a 4. Pures Sing, —_jinest techaaloay 1s used to tetoo oe yiVe woe Infos —~"iadion trom a Web service. AY Commun tak on dane ura TEST APD Uses opty GTTP Regvest - Saar T * i fear Client to @xver 19 e form ee ere GET ax Post ov POT oF DELETE. reyoest, piten that ; awegpanse Comes back From the ceyvey inthe fo8M pt a wesovrle, twrCh cape apyig Like HTML, XML, imate os SSON- ® | : 7 nrféa Hl nd BeQuect id Hl 5 aa Googe (oe xe i Vs Fervent So re (SC sD) ; tT — 1 / * mae ) ‘ \ lon yr7P these ave _s mefhods that cammany ved i'd [Rect paced owhtectne ise Post, Ge 1, PuT »PATCH | O DELETE .Thect ome Cowwecpunds to Creare) weed oPdate |b delete (os cRUO) operations sec pecpvely« GET* Retsieve avequnce Post 2 Crease néa) regu xe Por update Cxrsting remuxce 9! 2 _ | DELETE! Remove arresmurce ha | Pare s Dow tinnu sod. be 0 oust. “a awe — “Tosmavating 2 it = ED wagon ee Sere liareo nn i : pungent on Unmount C)- rm @_|lexplain arrow furckign In gsb with evompie- = (LES6 Awnow functions provides us @th pre precr, pPs0ac, 1 Ing “san ipt ON & tl Awron) fUNCH OMS enable De to cate Junctianc eet’ cath Simpler # chaste Cyntox Bod make our ade seadable | opaamzed. é | 7) fynckiOns owe anonynous Funct ain 1:6 thea ox€ | | functivns without name apd ase pet bound by ap sdeotiht claw zou funclion do not Yeturo ay value and can bé [declome A wuthout fynckion keywords They are also Icatted lambda function: 6d] Awe oc TUNchIdns do Dot Kove protaty PE Pro Pexty LFS thie, Gwqumnts ps fuPes- Zl Aspeur funcvon cannys be osed anth pe new keywuxd Awwous function Connor be vied 4S Constructor: sun tax. let Function pane = aryument = expression: i ; | d Ex. ll Noo mal Wockion § Lt psyoc furcti'an Function ‘cnuitiply (a,b) £ Value = (ab)? a*b i L l peluso a™bj + ~S stances tog (valve (3.9) 5 i l Conca tee log (mvitiply (35); fe] \ x er lain wooing sin dete © 4 OT i Yi [ ers to a web) +t provide Rg bet? serves @ citet b vequects to oe cesves tow web documents 9 sesvi'ces- Iraneneves € seawcin any thing san the Iptesnet ee loads 19 C. Curithen ta HTItd Clady Leext Wks mag OS oO gther items such ois Style ree - || & yavasee Dy -funcho P 7 i r sl Gor oe ic wor} t eds & [la tice fox { Crxonples oF Web Praser - » S Me 5 is to find jnfotmastvan ani ‘lon the joteroed +t} islastalled on ‘chen b Com pu® © » wegests \niowmaien frxon tne soniedemcitclioby I + coonys}: cde t D4 + ey Verma | | — | = a | ZB SENET j | v 7 1 + | — | I pay | | Pe Tavler mobile, | The brncases weceived daa thsough YW TTP Pw toco% « [Dor pas " = econ t }. la) fesse d a ao nil the Docurn@nt accesc coed el “rpov) is “a programma ‘ TWh Y xm) davument. Lt defn h ae —T a . Jot docan®otS ond the ward loci ic aueieed ay i [pani pulcet &- cee WP So been yack r J] the element in Me HTML docummt svUn AC ta4 a> \. avr TbrYSsS sample Js x 2th) >7 the above cade Snip PEE Some whut logkS We HTML landitialso oseS o Sovasceipt -|et Vanubie bib Joe they [ttt l pow Javascript , jt ce Acx(Sovescnpl ae Bath hele of TSx we hw ¢ a rect LY wxthen Pr sYprax in Savaccripl. Bs ule. cote eum TR Berg aa a eo. = apelaoxe eens pf ri a STE Es ee Setcd ~ HookS awe the. ota teadeone ~loirasaced 4) tae & \—_frensian. \ . aks wlouss > & a Sy) . i ‘ —~ features caithont onin 4 a class: —ftioos ome the Ywnrkion which nook ito. sexe crate Ip kecy@le teaser from foncbis wna | fain pont ere a 5 i ee t some 2 fn Fineky) + | Poe ioe) 4-4 on haves todo wt by seabanin's ot to Be class , bok pea you can do rt py.onns the hoor the exithng component - | eopost React ine ane © Argos t React from ‘react! Hmpoxt Susectate4 fram ‘react ‘ canst Hooks = C)=>4 | 1 a t= 255 stl reten C05 8 ce y of... S button aoe par => Sissies Lape AA> St C coup ti i fisov is bee food 2 4 ‘Sonar React Lucectate 4 beam as \ E Dom £ Teunctan favounitecoos (1 4 a ie { obs @act “Leotor isebeatonsl = sosectaae bed") bi u ot ety roi Qs sisnd ; ie? S & L athi> | 4 cones 2 | > | a Gest woos Reach POM carats Root (a rAd 4 Een t bys ol - on f : ‘ woot") )F | toot. vender ( ¢ fOvonbe cows | >) {oa | ws I 2s j | — - ion= mer) bai Vibro dtubnn & pty Setcount I= : Ef feck | [set times t (0) =>f> 4 [2 be) sekcouot ¢ (eauot) Devt 1) je LG kjtode V5 ey > > Tepve = bree Fide d wendered Seow ott Wiotimes | va ); rn e719 r ; mt - 2 d | iD ivy r pei Tprallze pre cag.n2.€ their dependencict -ecteiry i [ them, tranclosm them ik peeded, § intellig fotly | | combrhe them ipto _& optinized Lie what rezong a_wuch tecce® beocIseo. — load time, + : Aad Wana hts: 4 ot Facte x tucload 2 singe [fie oa the browser than ¢ loading moltipie Fike Sze ik Teguirer jesser Se 5ee “regucct- | Tpiebpuge is a° Wobust Brhighy scalar € 0 Peosome [2 = 1 savascer+ Madu? e@ bundle: de l lesebpage is _capble oF SUpPosting a exe Barge Igt Coosiqnration & plugin mabiea + Suitabie ts {ne yoetety of: projecti 34 pes ’ OE fet [Rete aseatunction Provided by React to accecs the | t gthe that you might ——jhavt_crtatedap_gad 900. They _ane_vced Ip casec where coe asph bo Chea [the valu _o+ a Child Com fon bn} » cathout making ut IDE props @ aly. [th de tunchignality as a3 con as I bawk seat them. J in id @ sin wlbiple fikee ct. € OPepsocnce Aus rde BEh Barge is vitabie ae 2 acrecs the 400 maht + bo Chane — Making ve use calibeks oe rot i -anaer edi, ref = aca mycal Sek Db: 3 speed [wan] te Ile. tnand. tog lo wedewo i : {coo 4 i Lo ge Bet L c 0 Puter s 12 Mode 3S provides Functionality, tosmead Brcmke fee Feeadine > -comking > th iyo ode iS 1 by ol One of the colect Node. js madole cased fs th tw one of mos} well FNowO puitd_ ix imedoles out “Atle file con be read # wmlténlo node js 10 beth psochanners a acy ncamnous Wiett > Sy Qchyooous = A synch vonous isa Code block 4 method csthith mean the giv method wil block the execnttdn of code | until its execution ic farshed Live comPlere Att hsead ® 5 comitt en \ Ca method In the £S Medole birch ssw Fy Ek tales two parameters finck ve file name oith Complete path & send Pasometes— rs chasac Hey 4 Lencocicg hit +§ generally 'UEF-g’. i lex. ! | const Fs = require (tts) * E 1 t canst weadne = Fs.yeadhilesync ( treadmeste tb! | ‘vttek Icansoles log (read Me) - Tocastte erie 2n a cynch wnavt mode me ec0o method wb Es mudyle which € wsikeFlecyacC). rt taker tae LPapameses fit iS filename arth Complete Lam jn olaith mer @ to GMmEE AN Y Cecnnd paramere if data to be | 2a ben vn byte asa bdironous 3 AS metho dx tt berets 3g Asyochwondvs l I ht | i —~ [Feu wiike Bes 0 I at lolows cade +o won To mead & avite the | @tnename with ean Gl womtene txt, rede) oo funchtYop 18 executed eoUtr on of given methed ‘and thus dosing complesi on s0 $ te ese ot on completion of ex qie_d ar psc ynohrenae'S mode v's we ore yeadFiie() 3 amteFued|imesho tt The tseveadFile () takes’ 3) Pasenertes © Character encod {enemetly VER giv 7 | OD ceulbeck typ eetan Cobenve frved after: Bead Me, Conct $ ¢ = reguvec'fs') fs meade (‘wead Herter, ‘yep-e', functyn (ear deta} les) f FesveO (apcole eves Lee¥) fs pooh ie te 3 _ JOle. log [daxa to sting Olde ! ne REPL [REPL Stunde tux “Read -Fval=priot Loop”, ii H i vv tf Quo, luce to ente x and execute Code one ye 24.8 ty ‘ i il * en % 4 S_BONLIME envi, Nodes comes cuth a bolt " REPL that ena toa command -line interface IREp) works ac follog RPod * 3b seads ser 'o PUL» Yar) can tYpe Javascript I code _di'sectly soko _qncele= val; Zt evuiuaies the lopots the atened od i | execoted f the’ recult it Tetuxned ipripk $ Tt phic the result of phe CW lation. The rer | rg displayed on the cansole. toors Ti loops back to the "Read “Phag al loxa tt usey +o (nte > mere code to stast The Nodeais Rep) if i Dsey have tocpen the tesmina| wa type ‘pode! t This Gi wunch the REPL and veers cll cee a ts t Prompt (‘> by detent) where Ser Con chart ptemhe uD avescript wdc $ nate 2 I] Yoo ase pow in the Nodeuso REPL . =F [some REPLe Udeful Fox KECTINY~‘oOr cod ES aang) —— | eprops ePeDY Ly with Javascript 2 a ee | tt provides 4 qu Lok G Mpreracrve ayy tu jppeyace the _t dee UNH Me environ wept enthoot _ the need *O ¢xcate a Separate script To_extt REPL, type t lect! ox | Ceri ilatorc Deewt ae ber | ’ I I ell oR) stoods for ubiferen eeconme laatoe, ta meter te or addsesc vsed +o access sesousces ap the we AURL bas He failawir 4 fosnat cheme + J/ host + Post | path que sy 4# F rayment Ex. pttes sil mwo fost. coro Nodex- btm) ISchere—tre—g pecite hes Ischeme : this specifies ihc P¥OtO cl ose to acess the Cause « Comerwp scheme $ include “http ” “bib ef6 Hosts Ths lodicatec the dornain or TP addacss Of the Semves heSting the vecousce, sk MMMM Port vel C. Pare tet abd bee | Sroyovet § iso _opttona/, the #ea4ieor identitves a - spectre cectiin Gautbrn the recount &. Lt Sag with a “#"Upd is athe uced ath HTM) docomnrs ty link to a pectic section. lt | [wpm : | NPM ox wod@ Package Manages, 1S co Package, » Manager fox TavasceiPt. Programming ld4ngvage + [re is Primarily used for managing f iockalliha loackages: OS I braries fos wodes{s application [pot it ig alco endely O8ed iin th capte t af front lend developmint , includihg Rea at. live is sod torr cn eS, co ase ve able blocks of mde that Can be canly Inteqrated into proyteat i padents beg ercbion:t Be pa sont | the Pred ard a Lick J eVeloPess t¥yPrcasly Create , « paheiats o- gSop’ FNE- Tg fle Contaios miiadaia abl OF deperdércies (packoxes) Deeded fos the project - ee aa __ ee velop et ure NPM ro Insta deperdencies 4 ee oo sted ny FT png‘ pauko4 és soo’ le by unos the 'APre Yostaus! | tarnmand | periiG package, HOU Cn USE Ine |e ro instal 4 | en stall cpackayC —aame >? Co MMaApd The ip stauls toe package fadds it tothe ‘nog, madule ¢' discctasy + : [e exe ‘opm ilnstatl express lostatls the Exprercuye | web Lcame goab - : [isa |SSoNn Stonds fox Javascript object wolation Issn te a tightwe'ght foxmat for toung paint pert § date, Isso is after ace d cuheh data ig Gent from a cexver to webpage 5 2A > | Ssom ic elf describing” 9 eacy to Undexs tand. I lex. {| | “esoplogees” + _[ : ; 7 A“ tisctbh (nchBe 2" Peamod™, "lactname™: “Gasnaer"4 H S gine tomes “pradip" , “ tactam e's “Garbo” } | § " disctyame 4" canco" Vactwomeit “Garhwat | 7 7 This example depines an employ ees obiec i an asee Y¥ LOL 3 employee selowas (ezpeeo Obgeat 6) - i SS SS SSON cyntax Rule s— OY L. | bale oinpoa « s4uane prackes held oF | Datatyps * Jeon supports sevewcll data &YPec = © Ohject: AN uncsdered ollecdi un oF be t=Vasue Pay Le Axray 4 Ap osde e © ctrrng 2 A Seq LA Ce of characte s NLloged « a dovbe@ quotes 2 Number ) A humeDic wuloe 2 Roleag : rithes ‘ysve’ ox ‘fads €* «NUN» nepresot S an empty Valve, i events ilo savascmpt j lop savascmPt Cvents are iptesacttOnc ov ocomy that papr en In the hrocssed , such af 4 orer | hicsing a bpiton, mowing the movs e typrh4 an the Lise yboasd , os the brurced fibithig loading 4 cot (Pages ! | events allows develo Pers to ses pond ko pets 9 Creade d4nannc_and mn be waichvC cnerb api HEVON « Event hand lin ih Javascript t Event List@ne xs ¢ BovosCeipk USES event Tanex ta detect 9 rec pond J An event efene fico function that i.e invelstd oe Je CPECIE VC _Cvent OCCU «Son a > Li fe 77 A Vex = Ae bi = du 2 ft E : eT aa ae il) ‘1 ick event I cr Wave) — di vinEListenes (‘chicis* , function ¢) J _—— : eats Lops te tes (Botton clicked 1"); § | \ Types of Events 3 ___ tall mauee. Events + Thece events owe peregesed by UCey actions jv! ving the nous I Lex ‘dice: 'dbolick”, !movce dog''moure uP”; era éhom “nppceentes', ‘mous elewe AC leone enyelerntnt = decument: qetelemen ER y 50 CO my ele, ent’) | muftemmtsaddevent hrtener (chice’, funch ap O15 ansures1o4 l'Elemmt choked | )' ws key boasd Event¢* Events sesored to keyboasd Interaction Ex. ‘weydayn’, Useyup’, ‘key presc! clocum@+ addevent itteney (‘key doen! , furcdian Levent )Z Pp feaeele tog 1 Bt peaccec di tSevmtikey Yj ___ b a TH | I . < I mr CyosIos pried W5 {| 4>% 2 | el nlodow ev ents i [= Evens weleled to the laroased apdde - - Tex. ‘wad’, ecize', 'scroll’ , 1 (00) ndow sa ddzventlictenex ('wesi ze’) console: tog ( windos seozed!")5 S+ | Document events < | le Evente pee Lire doctummt + tx.‘ pomcanttnt loaded’ document addeventhictenc ® | Domcanttyt loaded | func f tantale- log po Gantent loaded (') 3 YW Tp pani ces le a —~ unt wn'so Ue PLES 80 exerote Et Tensigtsiot code oprcide, Of a bRaL ce ws , bulk oo the vg ava script suptime eae hich Ne developed by Google fox vse fo ch%ome-proacer_ | NodesyS enables tne developmt(pt of scalapie, petwoxked apphiatvans 9° Pe pashicolasry wel sorted fox balding goeved- side ‘applications, APIS TaApplicahon P20 gxamNuh 4 Interfaces JB seortime «tb. a POC a YDS. Ah KIng quit node S% Siep1: Ron the tenes area fosthes Testing oo wea iE the ‘nddews ve ins tawed. I | Thit cammand will shoe, rhe Instajled-vewsan of. I wadeic ie one cystem. 2 node —-Veroon-\:> | ster! create fe ‘pdckagqesison by Ung “Fantor Command to clone the metadato of the Prajtcd. ‘loeeo_inft--¥ iE pee step: Wo cL HSbal €x Pre sci jhe root diveciry Joven inctant ex precs pane Ly bor - a 5 ~ SHEP Ye Create appa file yin root diktctry Bi amte ade Init- Isher © nun the code $ Spot server uring tottlogany md Node 21 appis) i Nodes 1S evAMtAsiwen vecause it USES G HNGNE IPs Cage; | non-breckilg approach te honate multiple tasre es | r¥ doeSn'd Wait fos one sucr te tone ve PEL. fens ee \wstead HF Uses evHIS and Callbacks cats Lopenat wns edi tcrently- se foatuwe s af Mad@as + ie LAs Dchxanous B event-driven + ‘ «lh aned ta be oon = [ Molesis-is designe can _evert driven axthieas tbat miiowe develapess tohardie a ars Surber ot concossent connectian Staten the peed bor imuitithseading » | Javascm'pt —Evenysahete Bs = = / CES C avec?Eipt not 1 corr va only — aul “der ScmPHh d= bob alse foré~Se5vey [side @t. 1 rs Ft [stream itne a ee aoer Proce ss ac develerers ¢, Use same langved & on beri clint & Sane ads pmingle =Inweaded. . ‘ NaAC 3S OPesate son a ungle ctaded Oven loeg | vast Ecosystem (nPpM)* | Node.tS came ¢ with a Poaweicd Behe e Manco icalied opm (wode Package Honayex ) The ppm eco- t yckem hosts a vast Coection of APH ~ Suse. IMiprasves B tours, making it Cary fos devetopess ito find w ioteqrade third Posty paroget hho thet Woosecte. * ! Platfoxm + Made3S vc crocs Pleuttowte and a SUN an we a HOperating custen¢e Inedu@iha widows, m ot B Lywr ; a Plaktocen compabibhty abies develoen id ad depio Nicakiun ¢ an diff - erwin wn Tanta 14 ae wodibicat nc. + [tac e pe I Nodes’ ze oe onthe VEiSavratcr p? sup pime | NOW fos ste fect exe cot of taorcaipt code, 2 ia = = = = t —= =| ry pes ob _Nadei sa ppiitationg---—~ web apPhicaruns .” 1 TF pde- iS‘ -campaomly vsed=t0_ build “web ep pitas unr —~ Thoth: for cenver-c1d ¢ tou & Wnandiing 2Wepb tide comunr ~ leastons a Sfdagmiacs a Pape fess — Lex: facebook APL s Laphication proqramming wtertace)- -- al Real - Tine ApPiicatiaps: f [pade-jo 1'¢ undely osed fos building Node-ys ye well surted Low building APL ¢ thes Server date to clit applications: EFS ASI NCh een, patere maker ite -eFfititn) fox poidtny ALorye po-of ADTs. Ex - Teortter AP eal=h'M ¢ appt loca 2 ¢ chat oPPhiakiune f one teming Pldjorm- ex, Chat an prticantsne. tammand line Tool r 1 IINode-so ye os ed HE building commend ne tools S otilibiy yoo ‘op a calabie 9 map winabl as ape tata dee {ses by M { Lo stalliin a, exPuess * | ‘ Pm pure fom Our punjerd [oem init) i vo the _wegvest dniect C'veq’) , the secpense Ohicel | (‘wes’) , and the pext mdUlewowe funcdion ip the | application’ £ xe quect wesPpopse CYCLE le Viddlecoase afloat developcy to exccot © code af differs th SkOGeL at she wavert FECPonce Cycle. 2 Routing 2 fRont'n4 sofess 16 boc) an aPPlicaiton’s end port (5s _weCPond 40 rent zeguect « FE xpress. aS Provides a-cimMC and elteosive vag bo | deFire wovteS fox pondlsry diferent nttP : PACE, ome [7 l=—1F Ger, POST, puT, DELETE, eX). 9s : | Rot 4 makes it easy to asgqaniSe and Manaye the [wariovS coifont+S" ob awe aPPhraten direc reaming weguestsS te the aPPeapmate hardier So Ten st_exbres = wequrse (‘exprese')s sc expressC)i Leon st APP © Trp peget Cl tunctive (retiree) § ~ oes cand (HELO @ex press’ Jj > 43.0 athe juss Shs 3( lewxore pond lng % fap vf expmess:x’S ~ prowidec weep “MechanSS fox Han ddsh y llessuns, loclud ing mddeware fox emer handbhy pg the Lablty to deline 6 cock essos handlers. j ‘UiResttot Apt soppowt s TReEStio APD« (RePreceniatinadl State ~rorster APIs) ome o syle of meb axchitecese “hat allows fe | cannmun ication bet cyctems “sve iphemes- lexpresc’ Js is ‘cammon/y teed to build) RES T/ol APES | otlowing developers tO dchine out ef; hadi eTtPe Metredt, dnd btexae with detabasec- | 1 5 3 i narg | ecm [YO | | [ebro a a5) 4 h =E___promi'ces jp Est 1 ‘ jptso Wo Es¢é [Ti sawscmipl promises wese introdaed ib Es ¢ © BONOVS Ye ~ LECMA script 2oLs ) 40" hanwe 4 ; | is objeck & sentir ne everty, use _of on $4 DUEONOVS OPT EE “comp\edon oS 4a Uh Land fk glows you to attach calles eoit® be _execnted a) Sea ae : opera! Tan v's conplered. a evroy 2 fe seca bee ae Ine 6 £0 o Legs | 5 ° D Tire M yoo order any food Sram apy sib _to del Tk fo now place that Order cot De the Premise | Fand the fad wil be the vase ot that Px0N Ge, you necevea ste seceipy ot the ovder. That secer'ph- fc a promise. that'your oxder ‘cot | be dokvewed to yov- so : * A Promive 18 Created Whe We are Wsore lok heres oF nat th €! ascr'gn ed, tack will be “Completed + The Promse oper yepresmrt the eventual. com Plolidr lop taluse) ofian async( 12.6 sn dnrmnous ) OPerMAHIOR UNL ibe: vertbiny Vee > The Prornive ie always ay one ot the toloa ng [ee states? : Le Fulfilled & Acton seated to promice cuccecded 0 * Seiected ® Action ¢ clued to Promce faled £ PAding 3 pwomiseee jo crit Pading [a Settled t promise hac been fultnied crxeswed are Syntax: ans t paowmice = near Promise (Cxesoive eyed ) =) Ff... Ws Ex. canst poypwornse “> Nees: Prone ( bsesove , we ject] 3 ee cene te ( mathssandem() 27037 wecave (ele, 57 an Porrtive !)¥ EN ou Ns eject od peer (’s tarved *)) 2 vee process © A wor lo coor > Stepd: setup yous deve pment epvr'sonment Make suse sav hawt wode-js 8 Open Yetta) neck tht the Qeie Sahstaseal ace | pode ==Vexsion \ C— Create Package «jSen up 4 ~ | nem int -4 _\ , CO Step 2s Now Cseate ven) React ADP | 1 Thi's commund coil Creare a news dixcchey panedt —|_heno-wos jd app | tt peters Nes & folten. i Sheuche © foe hex ‘ = 4 —_ repy 3 pen te _owc [APP yg fp l@ \mpost React fsore ened” | finer ven Ape c) 2 eesusp < aiyv> zy) S ello world J"< [hi>. y: * at espos t-defamt APPS feps > Crayt the developm@? serve xr [ota stent} eI To dedaxe variables ih ES 6 Te vanvable Sa pamed ceptaines ip the Mernory 4 & valu an simple wosds we can cay that vemahr Coptainex Eos valves sin davascmpi, zm £84 Vormable names axe cated (datiicy Woe Rules to FeeP tn mpd while narig ded oy - + Ap id@bitier can coptalo alphabets % number: but Cannot be kKeywosd names + at Cannat be o-ast wrth AUMbC yr * Tt Cannek Conary sPuces B special Chasactes ¢ Except underseere ( —) ond dollex $ Symbol . 7 IN ESE as latéy vessiMs of Javascript , Wl decsow z . . 5 variape using let' % ‘const’ keyword , (padditien | to ex’sh'ng ! vax’ Keyword. 46 Vas + Dedar avariable nth a funckibn swope, The variable declared «nth ‘vas! asc hotred to the — | top 04 frers junction o-% ginbal yariable. \vars myvax = lot \ {ee Avord oulny ‘yaw’ gece Yoo tpecialy need (tC function _ Sco Ping Behawios + Fer piock -Scoped variabes , pretey let’ @ leopg ! | | “yett woiroduces block oP ed Vasiwhie. variabiel déctored Lin lef art ulmted to block, sratemn® 08 € xPrege ion Loudon Hetero of eolered [tek myrer = hed 5 PAG owe | 77 a canmponent aoes thiou gh var a OUs ph e ® developess can nok; eet ema Ina methods caned ute cycle method s: nee mt iWecy de conatts of 3 Mair phases | + tounbio — «_opdatin j — 2 uamountios S fs | |[Mounhiln a, updadting > mounting 7 a HE. ate Wht ee $ | t =) se SET) poserearea aa 7 ‘ iedstatepromprers |} : + + { . i Shou d om o | E eda i if I } oT | faasrerste | i oars lig - Ww ie soPentrtdedmarmt |_| coreponen t-did update -]eameunent cdl i pate * hod 1S called before a pt 1S mo porn 's. stax and Th [ shave weed bo Intbianze the cr! bind method. - . [onctnactor (props) Pest | “super CpwoPs) > NS istat C.F i IWinttaliz e, stare rl shltic Get dewved clare pom Pro es 4 petos e readers | hen NCa) props oF setups an abies to uP Wditate ihad no shot Tht method is invoked @ night, tae ace vecerveds Tt date the stwe oy ‘nuit? c_update se Aecemery. Pe rived Stale From Pro PE [next Dros, Preuitet stadte get |S ot wetuwn obs to pda e State wesedon proPs ssed0en owl} AW \ \\\ ‘ Le == . gLvendexO + Deo Ry anna hea | | fos eelunn 'Dg cabaeenes t ke. “stevoiore | sles Q i 1 wetuep ( Sar ney Att + | i compen et Stsertor a5 i 4 re, The SY Gratis ce an lu] component Didmaun +0) : Ths Caled artes ComPonmb is tosested toto th e porn Et ft Cd fox 2 fetch AY? } EE aes It RevFo Dr Achi'Gn after com Pork Vo aepted 4 E ' : ll UPdating Phase, 1 \ This Phase begins coh WW componet 1S we -yedered ag avecolt oF Chang cs of 1b 6 1CkaKE, Oe Props lultecucte methodc + » le static get Doived Chute Ian PYG PS 0) | 4 shonid comin tupdase C } ! 2 wenderd ) 2 Fest 6a Phot before up detec ) 2 e Com Porent Pid MPdeyCC ) bare awe veceiv (Lotz | whether the compu ME Should we ~wendey bee ee 20 ANE chongec ip props av stad. Refers ‘tale e” i Peeves We wendemina procet | Fetorn & toce bo allow re vende o eo tasve to pre al Jetcha Pthotbetosepdaie i) itis cnephed i's carted wight before the Changer t Freon _viftual DyM te xe aes te a por | Geo snathot Befoyecpdasl' ( prevpro PS Dravilaie i IL sedusp -a snapshot volve os pull zetutn oullj { 3 I: Te fd dl Lorn Pan ent ienionie ae p avn D8 i Thicg method te Called ater eibead “compartnt & pda ect . xt ts aftr used fox peitermh4 Lid efter iz Tidamronent Diupdatet ipa practare,; nw fl Z le LL per ten Mme! dot ten otter Com Ponat ropa | | & Ponllunmount f) F Ti te ceuted Just be lose caroren Dh 18 apnuntos i JL | fee] 77 7 FF an de pe ene b) op language. rapSpost ae Sil Zr vs desiqne o stone text tanmat demved el Ir Ts a simple, fexble | oom sGm 7 [shandard Geresal'zed> Mark oP le eoee nad: designed to be -berh burch = © Cals, & manne - weadabre- wl xm is desiqnéd to be celkd escrsphive Ex. 7 tgcl panes ot be Tee 7 Le book > cinle > api rodoction box Mk. clblehe > author > Pramod Gashwas <| avthox > <1book > Td

You might also like