React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn

Программирование

React JS ye mun ye mannequins daminɛbagaw kama, o ye mun ye, kalanw, sigili, sɛbɛnniw – React JS gafemarayɔrɔ sigicogo ani a baaracogo ni jago robow sɛbɛn. Tuma caman na, ɔridinatɛri kɛrɛnkɛrɛnnenw ka baara piblisitew kɔnɔ, i bɛ se ka wajibi dɔ sɔrɔ min b’a fɔ ko seko bɛ i la JavaScript gafemarayɔrɔ la. Ɔwɔ, wa u bɛ React dɔnniya makɔnɔ porogaramu dilannikɛlaw dɔrɔn tɛ, nka porogaramukɛlaw fana fɛ minnu bɛ yɔrɔ in kɔnɔna yiriwali baara la, wa u tɛ kɛnɛma dilancogo la. Nin ye gafemarayɔrɔ sugu jumɛn ye, a bɛ cogo jumɛnw di baara la, ani daminɛbaga bɛ daminɛ ka dɔn min? An k’a jateminɛ nin barokun in kɔnɔ.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn

JavaScript bibliothèque – React: o ye mun ye

React.JS ye
JavaScript porogaramukan min bɛ fɔ kosɛbɛ , o gafemarayɔrɔ ye , min Dabɔra ɛntɛrinɛti kan ‘sosiyali-rɛzo Facebook fɛ walasa ka yɔrɔw ni baarakɛminɛnw kɛnɛma-yɔrɔ labɛnni taabolo ɲɛ ani k’a nɔgɔya – baarakɛla bɛ baara Kɛ ni min ye. Gafemarayɔrɔ in ka koɲɛba ye yɔrɔw ni jamanaw ye. Component ye set numérique yɔrɔ dɔ ye min bɛ kɛ sababu ye ka sistɛmu yɔrɔ dɔ cogoya jira min bɛ ka dilan.

Nɔti! O yɔrɔ suguw bɛ se ka kɛ nest ye.

Jamana ye kunnafoni bɛɛ lajɛlen ye min bɛ kuma ɲɔgɔndan dɔ ɲɛfɔli kan, hali a jiracogo jiracogo. Ni an bɛ baara kɛ ni misaliw ye, an bɛna a dɔn ka ɲɛ ani ka jɛya ko mun ye mun ye. Ja min bɛ duguma, o bɛ a yɔrɔba dɔw jira – ka bila ɛntɛrinɛti kan ɛntɛrinɛti kan, yɔrɔ min bɛ kunnafoni caman sɔrɔ ani ka fotow jira. Yɔrɔ kelen-kelen bɛɛ kɔnɔ, yɔrɔ fitininw bɛ yen, minnu ye yɔrɔw ye. Misali la, sɛbɛn dɔ kɔnɔ, sɛbɛnniw, fotow, baarakɛla tɔgɔ min bɛ kunnafoniw bɔ, a ɲɔgɔnnaw Jaw yɔrɔ bɛ ja kelen-kelenw jira, ani kunnafoni caman yɔrɔ bɛ kunnafoni surunw sɔrɔ.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn O dakunw (dakunw) kelen-kelen bɛɛ bɛ ni cogoya ye. O kɔrɔ ye ko dakun min bɛ ni kunnafoni caman ye, o bɛna ɲɛ cogo wɛrɛ la minɛnw kan minnu tɛ kelen ye, “like” yɔrɔ bɛ kulɛri Changé ni a digilen don ani jate min bɛ kɛ sababu ye ka like (like) hakɛ bɛɛ lajɛlen jate; gafe fana bɛ se ka sɛbɛnni surunya walima k’a bɛɛ lase mɔgɔw ma.

O cogo la, React.JS ka flexibilité bɛ jira – interface component bɛ sɛbɛn siɲɛ kelen, o kɔfɛ a bɛ cogoya bɛɛ di a ma minnu bɛ se ka kɛ.

Mun na React bibliothèque mago bɛ yen?

React.JS ye sugandiliw dɔ ye min bɛ Se ka JS walima HTML kode sɛbɛn cogo nɔgɔman na, k’a kopiw Kɛ k’a Kɛ yecogo ye. Nin yɔrɔ minnu bɛ yan, olu sɛbɛnnen bɛ sistɛmu kan kɛrɛnkɛrɛnnen dɔ la – JSX, min kɔnɔ, JavaScript porogaramukan kɔnɔfɛnw ni HTML taamasiyɛnkan sigilen bɛ yen.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn Kode min sɛbɛnnen bɛ JSX kɔnɔ, o ye fɛn kɛrɛnkɛrɛnnen ye kosɛbɛ. A nafa ka bon fana ko ɛntɛrinɛti yɔrɔ kana kɛ wajibi ye ka nin sistɛmu kan faamuya – React.JS kode bɛ wuli ka taa JS la, navigatɔrɔ o navigatɔrɔ bɛ min faamuya k’a sɔrɔ gɛlɛya t’a la. Walasa k’o Kɛ, min bɛ Dabɔ gafemarayɔrɔ la, o bɛ Tɛmɛ daɲɛgafe kɛrɛnkɛrɛnnenw fɛ (minnu ka di kosɛbɛ bi, olu dɔ ye Babel js ye), minnu bɛ kodew Yɛlɛma porogaramukanw na minnu ma Dɔn kosɛbɛ ka Kɛ JavaScript jiracogo ye.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn A daminɛ na, a bɛ se ka kɛ i n’a fɔ baarakɛcogo in kɛcogo tɛ bɛn kosɛbɛ, nka waati dɔ tɛmɛnen kɔfɛ i bɛ deli a la ani i b’a dɔn mun na o fɛɛrɛ in dilannen don o cogo la. JavaScript gafemarayɔrɔ la, nafa barikama caman bɛ yen:

  • sistɛmu porogaramukan dɔnni ka nɔgɔn ka tɛmɛ JavaScript dɔnnen kan, wa o de kosɔn, a bɛna waati caman ta ka dɔgɔya siɲɛ caman walasa ka kode dɛmɛ ani ka filiw bɔ a kan (kode ni porogaramu kura sɛbɛnni teliya bɛna bonya ka kɛɲɛ n’o ye)
  • fɛnɲɛnamafagalanw sigicogo nɔgɔman ni waleyali bɛ jɔ yan – ka segin kode yɔrɔ dɔw kan minnu bɛ kɛ sɛbɛnni taabolo danfaralenw na ani porogaramu suguya wɛrɛw la, ani fana ka fɛn caman Changer ka kɛɲɛ ni sigida cogoya ye
  • daɲɛ kelen-kelen bɛɛ bɛ a cogoya dɔrɔn de kɔrɔ , o de kama a ka nɔgɔn ka dɛsɛw latilen kode kɔnɔ ni fili barikama sɔrɔla a ka baara la waleyali la ; waati bɛnbaliw bɛ pan ka taa sanfɛ : fɛn min bɛ baara kɛ ka ɲɛ, o bɛna taa a fɛ ka baara kɛ cogo sabatilen na nin cogo in na, fo ni, tiɲɛ na, cogoya jugu kɛra ka ɲɛsin a ma.

O cogo la, an bɛ se k’a fɔ ko React.JS gafemarayɔrɔ bɛ se ka waati caman kisi, ka kode kɛ kɛrɛnkɛrɛnnenya la, ka ɲɔgɔndan labɛn cogo bɛnnen na, ka baara kɛ ni bloki belebelebaw ye tugun. O nafaw b’a To a bɛ Se ka dɔ Bɔ baarakɛminɛnw dilanni taabolo musakaw la, ka Fàra o baara yɛrɛ in waati teliya kan. Ka se ka baara kɛ ni JS ni HTML porogaramukan ye, ka baara kɛ ni sistɛmu JSX dege ye, o ka nɔgɔn – tile damadɔ dɔrɔn ka se k’a dɔn.

Nɔti! Hakilitigiya don ka baara kɛ ni gafemarayɔrɔ ye ni baara bɛ kɛ ni porozɛbaw ye, ni a ka kan ka ɲɛ caman sɛbɛn minnu bɛ wuli ka bɔ u nɔ na. Jagokɛyɔrɔ fitinin mago tɛ o gɛlɛya suguw la.

React JS ka kalansen jɔnjɔn ka bɔ A la ka se Z ma: https://youtu.be/GNrdg3PzpJQ

Dɔnniya daminɛbagaw ye: hakilina jɔnjɔnw

Bonjour Monde!

Ni a bɛ don gafemarayɔrɔ ɲɛ fɔlɔ la, baarakɛla bɛna bisimilali kun ye i n’a fɔ misali fitinin – “Hello world!”.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn

JSX sitɛmu kan jɔnjɔnw

JSX ye sitɛmu porogaramukan ye, JavaScript lakodɔnnen dɔ faralen don ɲɔgɔn kan. A bɛ kan fla faralen ɲɔgɔn kan – JA porogaramu ani HTML taamasiyɛnkan sariyalen. Dabɔbagaw bɛ baara Kɛ n’a ye walasa ka hakilina in Labɛn walasa ka React jira tigitigi baarakɛcogo ka kan ka Kɛ cogo min na. JSX bɛ “yɔrɔw” Dabɔ gafemarayɔrɔ la.

JSX ye mun ye?

React gafemarayɔrɔ bɛ tugu hakilina na min b’a jira ko ɲɛfɔli kunba bɛ tali kɛ baarakɛcogo ɲɛfɔli la: ko kɛlenw bɛ baara kɛ cogo min na, cogoya bɛ Changé cogo min na waati dɔ kɔnɔ, ani kunnafoniw bɛ labɛn cogo min na walasa ka jira. JS gafemarayɔrɔ bɛ Se ka baara Kɛ n’a ka sitɛmu kan tɛ, nka dabɔbaa caman b’a Sɔrɔ a nafa ka bon k’a sababu Kɛ a jɛlen n’a jɛlen ye n’u bɛ baara Kɛ ni baarakɛminɛn ye min bɛ Bɔ JavaScript kode la. Ka fara o kan, o jatebɔ in b’a to a ka nɔgɔn React ma ka waati ni fili kunnafoniw lawuli minnu tɛ tiɲɛ ye.

Daɲɛw dabɔli sitɛmu kan na

JSX b’a To i bɛ Se ka baara Kɛ ni JavaScript daɲɛw bɛɛ ye minnu sɛbɛnnen dòn koɲuman curly braces kɔnɔ baarakɛcogo dɔ la.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn
JSX fana ye kumasen ye Ni source code ye bytecode kɛ dɔrɔn, JSX fɔcogo o fɔcogo bɛ wuli ka kɛ JS baarakɛcogo weleli jɔnjɔn ye min bɛ JavaScript kulu laɲini. O la a bɛ Se ka Faamu ko porogaramukan ofisiyali ka sitɛmu janya bɛ Se ka Kɛ if manuel kɔnɔ ani waatiw kama.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn
JSX ye Fɛnw ye Fɛn minnu bɛ jira ni jatebɔlan ye, olu bɛ wele ko React elements. U bɛ jaabi min ɲɛfɔ, baarakɛla b’a fɛ ka min ye jiralan kan. Kitabumaraso bɛ o fɛnw dɔn ani ka baara kɛ n’u ye Sɛbɛnnifɛnw Modeli labɛnni n’a ladonni taabolo la.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn

Detail ka ɲɛfɔli kɛ

Details ye fɛn fitinin caman ye minnu bɛ React porogaramuw kɛ.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn Details ye ja ye min dilanbaga b’a fɛ ka min ye laban na monitor (kɔlɔsilikɛlan) kan. Ni an y’a suma ni Document Object Model fɛnw ye, gafemarayɔrɔ fɛnw ka nɔgɔn wa u tɛ nafolo caman ta. Fɛnɲɛnɛmaw ye fɛnw ye minnu bɛ fɛnw Dabɔ.

Components ani props

Dakunw b’a to UI bɛ se ka tila ka kɛ yɔrɔ yɛrɛmahɔrɔnw ye, minnu baara ka nɔgɔn u danma. U bɛ se ka fara ɲɔgɔn kan ka baara kɛ ni u ye siɲɛ caman. A fanba la, yɔrɔw ka baarakɛcogo bɛ tali Kɛ JavaScript porogaramukan yɛrɛ ka baarakɛcogo la. U bɛ donnakow ta, n’o bɛ Weele ko props, ka React elements (React elements) Lasegin minnu bɛ yiriwali modɛli jira, baarakɛla b’a fɛ ka min Ye monitor (kɔlɔsilikɛlan) kan.

Dakun suguyaw: baarakɛcogo ani kalasi

A ka nɔgɔn ka gafemarayɔrɔ yɔrɔ dɔ fɔ i n’a fɔ baarakɛcogo.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn Components fana bɛ se ka jira ES6 kalasi cogo la.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn

Di! React gafemarayɔrɔ bɛ nin yɔrɔ sugu fla ninnu ɲɛfɔ ko u bɛ ɲɔgɔn Bɔ.

props (props) ye

Props ye fɛn ye min tɛ Se ka Yɛlɛma, minnu bɛ Se ka kalan dɔrɔn. O la, yɔrɔ dɔ man kan ka foyi sɛbɛn a ka fɛnw na, a mana kɛ sugu o sugu ta ye.

Jamana ni ɲɛnamaya kɛcogo

Fɔlɔ, an k’a lajɛ cogo min na an bɛ se ka jamana waleya cogo bɛnnen na baarakɛyɔrɔ la. Fɛn nafama saba bɛ yen minnu ka kan ka dɔn component state kan:

  1. Kana cogoya Changer directement, baara kɛ ni setState fɛɛrɛ ye. Aw ye aw hakili to a la ko yɔrɔ kelen min bɛ se ka cogoya Changer directement, o ye constructeur ye.
  2. Jamana ka kunnafoni kuraw bɛ se ka kɛ ko u tɛ ɲɔgɔn ta.
  3. Kunnafoni taabolo bɛ sira kelen de sɔrɔ. Komponenti jɔli la, u si t’a dɔn ni jamana bɛ kalifa component wɛrɛ ma. A tɛ foyi ɲɛ nin walima o baarakɛcogo yɛrɛmahɔrɔnyalen in Dabɔra cogo min na – ka baara Kɛ ni baarakɛminɛn walima danfara-minɛn ye. O bɛ Weele ko “downstream” data flow. Jamana dɔ bɛ ɲɛfɔ tuma bɛɛ fɛn dɔw ye, wa o jamana in jɔcogo jɛkuluw bɛ se ka nɔ bila yɔrɔw dɔrɔn de la minnu bɛ “jukɔrɔ” sigicogo la.

A ka c’a la, jamana bɛ wele ko “sigida”, “kɔnɔna”, walima dogolen. A bɛ Ye dɔrɔn baarakɛminɛn yɛrɛ fɛ wa a tɛ Ye React yɔrɔ wɛrɛw fɛ. Kitabumara porogaramuw kɔnɔ, ni baarakɛminɛn yɛrɛmahɔrɔnyalen dɔ bɛ ni cogoya dɔ ye walima ni a ma di, o ye o yɔrɔ in kɔnɔna yiriwali ye, min bɛ se ka Changé waati kɔnɔ. A fana ka di ko baara la i bɛ se ka yɔrɔw fara ɲɔgɔn kan ni jamana ye ani jamana tɛ minnu na.

Ko kɛlenw sɛgɛsɛgɛli

Ko kɛlenw parsing taabolo min bɛ React components kɔnɔ, o ni ko kɛlenw ɲɛnabɔli bɛ tali kɛ document object model elements kɔnɔ. Nka, fɛn damadɔ bɛ yen minnu b’u danfara Bɔ ɲɔgɔn na:

  1. Ko minnu bɛ kɛ JavaScript gafemarayɔrɔ la, olu tɔgɔ bɛ fɔ cogo wɛrɛ la ka tɛmɛ sariyataama kan.
  2. Baara kɛli ni System Extended Programming Language ye, baarakɛla bɛ tɛmɛ ni subroutine ye i n’a fɔ ko kɛlenw ɲɛnabɔbaga sanni ka kɛ sɛrɛ ye.

Elemanw ka baarakɛcogo saratilen

JavaScript gafemarayɔrɔ bɛ se ka fɛnw yiriwali hakilina tiɲɛ ka kɛ yɔrɔw ye minnu yɛrɛmahɔrɔnyalen don. U bɛ se ka jira walasa ka jirali bɛɛ lajɛlen kɛ walima ka dogo, ka kɛɲɛ ni u ye cogo min na sisan. Elemanw ɲɛfɔli cogoya bɛ baara Kɛ ni sariyakolo kelen ye ni kumasenw ye minnu sinsinnen bɛ JavaScript porogaramukan kan. Tuma dɔw la a bɛ Kɛ ko gafemarayɔrɔ bɛ ɲɛfɔli Лini cogo min na jamana bɛ nɔ Blà fɛn dɔw dogocogo walima u jiracogo la. Yan, a bɛ bɛn kosɛbɛ ka baara kɛ ni JS dɛmɛbaga saralen ye walima kumasen minnu bɛ tali kɛ if la.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn

Yɛlɛma donna Components (yɔrɔw) la

React bibliothèque elements bɛ se ka fara fɛn caman kan. Nin ye fura ye min bɛ se ka kɛ ni cogoya dɔw b’a jira ko yɔrɔ dɔ ka kan ka ja, walima ko a tɛ kɔrɔ sɔrɔ, k’a sɔrɔ yɔrɔ tɔ bɛ to a cogo la.

Lisitiw ani Kisɛw

Nin tilayɔrɔba in kɔnɔ, a yɔrɔ caman bɛ yen:

  1. Ja min bɛ kɛ ni fɛn caman ye . Baarakɛla bɛ Se ka fɛnw kulu dɔ Dabɔ k’u Dòn sistɛmu porogaramukan na ni kurulenw ye.
  2. fɛnw lisɛli fɔlɔ . Tuma caman na, baarakɛlaw ni baarakɛlaw bɛ lisiw ladilan k’a ɲɛsin a yɔrɔ dɔ ma.

Kisɛw

Kilisi min bɛ React JavaScript gafemarayɔrɔ la, o bɛ baarakɛminɛn kɛrɛnkɛrɛnnen dɔ jira min ka kan ka don ni a bɛ yɔrɔw lisɛli dilan. Kisɛw bɛ JavaScript gafemarayɔrɔ dɛmɛ a k’a dɔn fɛn minnu ladilanna, minnu farala u kan, walima minnu bɔra. A nafa ka bon ka taamasiyɛn kɛ u la walasa React ka se ka jɛkafɔ kɛ ni fɛnw ye minnu bɛ sɔrɔ fɛnw jɔcogo la waati dɔ tɛmɛnen kɔfɛ.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn

Sɛbɛnw

JS gafemarayɔrɔ la, taamasiyɛnkan fɛnw bɛ baara kɛ cogo wɛrɛ la dɔɔnin ni sɛbɛn fɛn modɛli yɔrɔw ye, bawo foroko fɛnw bɛ ni cogoya dogolen ye a daminɛ na.

Fɛn minnu bɛ ɲɛnabɔ

Marka-kan min bɛ Labɛn cogo la, sɛbɛn minnu bɛ i n’a fɔ input , select , textarea, olu ka teli k’u yɛrɛ ka cogoya mara ani k’a kuraya ni baarakɛla ye kunnafoni kuraw Dòn. React.js cogoya bɛ donnakow nafa ɲɛfɔ tuma bɛɛ daɲɛw labɛnni yɔrɔ la min ɲɛnabɔlen don. Hali n’o b’a Jira ko baarakɛla ka kan ka sɛbɛnni Kɛ dɔɔnin ka Tɛmɛ kode fɔlɔ dilen kan, a bɛ Se ka Kɛ sisan ka o nafa in Tɛmɛ baarakɛla ka ɲɛfɔli yɔrɔ wɛrɛw la.

Jamana ka wuliliko

Jamana ka wuliliko ye jatebɔlan ye min bɛ kɛ ka kɛɲɛ ni sariya ye, yiriwalikɛla bɛɛ ka kan ka min dɔn ani ka se k’a waleya baara taabolo la. Baara kɛli n’a ye, o bɛna jamana ɲɛnabɔli kɛcogo gɛlɛnw bɔ yen, wa a ka c’a la, nafa tɛ minnu na.

Mun na a ka kan kosɛbɛ ka jamana ka wuliliko kunbɛn?

Jamana kɔrɔta ka se yɔrɔ tɛmɛnenw hakɛ ma yɔrɔ minnu b’a ɲini, o ye wajibi ye walasa yɔrɔ bɛɛ ka se ka u sen don jamana kɔnɔ. Jamana taabolo sabatilen bɛna a to a tilatilali nɔgɔya la yɔrɔw bɛɛ cɛ minnu bɛ u jigi da a kan.

Composition vs Cɛsirilan

React.js kɔnɔ, daɲɛw labɛncogo barikama dɔ bɛ yen, o la a ka ɲi ka baara kɛ ni fɛn bɛɛ jɔcogo ye ka bɔ yɔrɔw la sanni ka kɛ ciyɛn ye walasa ka baara kɛ kokura ni kode ye min sɛbɛnna ka kɔrɔ fɛnw ni ɲɔgɔn cɛ. O cogo la, props ani se ka daɲɛ kuuru kelen Dabɔ ka Bɔ yɔrɔw la, o bɛ ‘fὲɛrɛ Di a dilannikɛla ma min ka kan ka Kɛ walasa ka fɛn in ka shell ni a kɛcogo Dabɔ cogo kɛrɛnkɛrɛnnen na ani cogo lakananen na.

Hakilinajiginla! Component parts bɛ se ka props ta minnu tɛ ɲɔgɔn ta, elements parts minnu bɛ kɛ bibliothèques walima functions ye.

Ni a kɛra ko i ka kan ka baara kɛ ni baarakɛcogo ye min tɛ ɲɛ ye walasa ka baara kɛ ni yɔrɔw ye siɲɛ filanan walima siɲɛ sabanan, i k’a sama ka bɔ ka don JS modulu danfaralen dɔ kɔnɔ. Aw bɛ a Lasegin yɔrɔ dɔ la ani ka baara Kɛ ni baarakɛcogo ye min bɛ Bɔ a la k’a sɔrɔ aw ma dɔ Fàra o kan. React walima Vue walima Angular, mun sugandi: https://youtu.be/Nm8GpLCAgwk

React.js sariyakolow

JavaScript gafemarayɔrɔ ka hakilina bɛɛ dogolen bɛ React gafe kɔnɔ. A bɛ iko nin ka jan wa a nafa ka bon kosɛbɛ ten, nka, baarakɛla caman b’a Fɔ ko kalan kɛlen kɔ fɛ fɛn bɛɛ Bìnna a nɔ na. sɛbɛnw kɔrɔlen don kosɛbɛ, nka hali bi nafa ka bon kosɛbɛ ani u nafa ka bon kosɛbɛ –
https://ru.reactjs.org/docs/thinking-in-react.html . React js kalansen https://ru.reactjs.org/kalan/kalan.html

React.js gafemarayɔrɔ ka baarakɛcogo

Baara kɛli ni JavaScript gafemarayɔrɔ ye, baarakɛla bɛ sababu sɔrɔ k’a janto a bɛɛ lajɛlen na k’a ɲɛsin UI yiriwali taabolo ma ani baarakɛminɛn in kɔnɔfɛnw ma, a dɔgɔyalenba la, a hakili bɛ ɲagami kode sɛbɛnnen in sigicogo n’a dɛsɛw fɛ minnu bɛ se ka kɛ. Kitabumaraso b’a to i bɛ se ka porogaramuw labɛn joona, a bɛ nɔgɔya ka poroze bɛɛ lajɛlen yɔrɔw labɛn ani k’u ladilan. O cogo la, React.js kɔnɔ, fɛn dɔw bɛ yen minnu bɛ kumaɲɔgɔnya ɲɛnabɔ diɲɛ rezow kɔnɔ, UI, porogaramu cogoya kɔlɔsili ani se ka ko gɛlɛn wɛrɛw ɲɛnabɔ. Nin baarakɛcogo ninnu fana bɛ gafemarayɔrɔ la:

  1. Baarakɛcogo ɲuman . React.js bɛ sɔrɔ cogo fitinin na. Nin foroko fitinin in mago t’a la ka labɛn ka jɛya. Kode tila-tilacogo dɔ bɛ a kɔnɔ kaban min bɛ dɔ bɔ waati min na ka siti in ka navigatɔrɔn da wuli, bawo o sugandili bɛ yɔrɔw bali ka ɲɛfɔli kɛ waati kelen na.
  2. pɔnpe ekosisɛti ani sariya labatoli . Baarakɛminɛn caman bɛ sɔrɔ gafemarayɔrɔ la, minnu bɛ dɛmɛ sɔrɔ yɔrɔ wɛrɛw fɛ, o min b’a to baarakɛla bɛ se ka porogaramu gɛlɛn kuraw labɛn kun o kun na.
  3. Baarakɛcogo dafalen . JavaScript gafemarayɔrɔ nafa fɔlɔ ye ko plateforme in sɛrɛ kura bɛɛ bɛ kɔrɔlenw ka ɲininiw dafa, o la i bɛ se ka baara kɛ ni kɔrɔlen ni kura ye, u bɛɛ bɛ dɛmɛ ani u bɛ tali kɛ fo bi. Fɛn minnu bɔra ka kɔrɔ, olu tɛ kɛ fɛn kɔrɔlenw ye fɛn kuraw kɔfɛ.

Baara kɛcogo ɲuman

Gafemarayɔrɔ ɲɛba kan, baarakɛlaw ka cikanw kɔnɔ, misali damadɔ bɛ yen minnu bɛ ɲɛfɔli kɛ React baaracogo la waleyali la. Aw bɛ se k’u latilen ni aw bolo ye ani k’a ɲini k’u boli. Hali n’i ye baarakɛla kura ye ani n’i tɛ gafemarayɔrɔ kɔnɔko ni a ka hakilinata faamuya, i ka kode ladilan ka kɛɲɛ n’i diyanyeko ye ani k’a nɔfɛkow lajɛ.

React baarakɛcogo ɲuman n’a bɛ jago robow sɛbɛn JavaScript kɔnɔ

A nafa ka bon k’a dɔn ko baarakɛla tɛ JS porogaramu, nka a bɛ sɛbɛnniw (scripts) sɛbɛn. o de kama, baara kɛli ni gafemarayɔrɔ ye, baarakɛla dɔ bɛ se ka kode sɛbɛn jago robo nata dɔ kama min bɛ kɛ jagokɛcogo la, ani fana ka t’a fɛ k’a cogoya dilan ka da o kɛnɛ kan. Tiɲɛ na, jago robo min bɛ jago kɛ, o fana ye baarakɛminɛn ye, min hakɛ caman bɛ ka labɛn ni React.js ye. Nka, baara dɔw ni bot kɔnɔna yɔrɔ bɛna Kɛ halibi yɔrɔ wɛrɛw kan minnu bɛ baarakɛminɛnw Di minnu bɛ Bɛn o ma.

GitHub ani React.js ye

GitHub ye ‘plateforme ye min bɛ porozew ‘sènfɛ-sɛbɛnw bɛɛ Ladon. Baarakɛla bɛ jatigila Jɛ, ka tɛmɛ sɛbɛnni kɛcogo fɛ GitHub ka siti ofisiyali kan, ka sɔrɔ ka ɛntɛrinɛti marayɔrɔ dɔ Dabɔ a bɛ dosiyew bɛɛ Bɔ Git la yɔrɔ min na.
Git ye ​​porozɛ sɛgɛsɛgɛli baarakɛminɛn ye min ka di kosɛbɛ ani min bɛ tali kɛ a la bi, wa GitHub ye yɔrɔjan kode marayɔrɔ ye.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn

Tàyɔrɔ! Baarakɛla minnu ye ladɛrɛsi bɛnnen sɔrɔ ni yamaruya ye, olu dɔrɔn de bɛ se ka dosiyew sɛgɛsɛgɛ ani k’u telesarse.

Sɛbɛnw sɛbɛnni

Kalansenw bɛɛ ani kunnafoni kura minnu bɛ JavaScript gafemarayɔrɔ kan, olu bɛ waati la ni kunnafoni kuraw ye. Dabɔbagaw fana bɛ sɛbɛn kɔrɔw lajɛ ani k’u bila walasa ka u kalan caman na, minnu bɛ bila gafemarayɔrɔ ɲɛ wɛrɛ kan. O la, a bɛna nɔgɔya daminɛbagaw bolo ka siti ɲɛnabɔli sekow dɔn : fɛn kɔrɔw ni fɛn kuraw bɛɛ – fɛn bɛɛ bɛ yan, sɔrɔli ye fu ye bɛɛ ye.
React.JS for beginner dummies, ka baara kɛ ni bibliothèque ye ni jago robow sɛbɛn

Nɔti! Aw kana ɲinɛ ka gafew kalan. A dɔgɔyalenba ye a lajɛ – kaban, fɛn minnu tun bɛ iko faamuyali tɛ se ka kɛ, olu fanba bɛna bin a nɔ na.

React bibliothèque ye plateforme ye min bɛ fɔ kosɛbɛ ani min bɛ tali kɛ bi. A ka baarakɛcogo caman bɛ kɛ sababu ye ka porozɛw kɛ minnu ka ɲi kosɛbɛ ani waati dɔɔnin kɔnɔ. Ka fara o kan, ka plateforme dɔn ani ka seko sɔrɔ ka baara kɛ n’a ye, o bɛ kɛ sababu ye ka kɛrɛnkɛrɛnnenya la ɲinini kɛ baarakɛyɔrɔ la.

info
Rate author
Add a comment