React, JS

 0    11 adatlap    matuzalema
letöltés mp3 Nyomtatás játszik ellenőrizze magát
 
kérdés válasz
Klasa dzidzicząca po React Component
kezdjen tanulni
A class that inherits from React Component
React jest biblioteką javascriptową do budowania złożonych interfejsów użytkownika przy użyciu komponentów (małych i odizolowanych od siebie kawałków kodu)
kezdjen tanulni
React is a JavaScript library for building complex user interfaces using components (small and isolated pieces of code)
zwraca strukturę widoków do wyświetlenia.
kezdjen tanulni
returns the structure of the views to display.
tablice w JavaScript są obiektami
kezdjen tanulni
JavaScript arrays are objects
ATRYBUTY przekazujemy do komponentów
kezdjen tanulni
atrubut
React wywoła procedurę obsługi zdarzenia onClick
kezdjen tanulni
React will call the onClick event handler
Przyjęło się jednak określać atrybuty odpowiedzialne za wywołanie zdarzenia jako on[Event], a procedury obsługi zdarzeń jako handle[Event].
kezdjen tanulni
However, it is customary to specify the attributes responsible for triggering the event as on[Event], and the event handlers as handle[Event].
komponent kontrolowany
kezdjen tanulni
controlled component
array. slice() robi kopię tablicy
kezdjen tanulni
array. slice() makes a copy of the array
klasa dziedzicząca po React. Component
kezdjen tanulni
class
type vs interface. Interface można rozszerzyć a type nie
kezdjen tanulni
type vs interface. Interface can be extended, type cannot

Kommentár közzétételéhez be kell jelentkeznie.