PROPS - превод на Английски

props
реквизит
проп
предложение
опора
подпора
подкрепа
витлото

Примери за използване на Props на Български и техните преводи на Английски

{-}
  • Colloquial category close
  • Official category close
  • Medicine category close
  • Ecclesiastic category close
  • Ecclesiastic category close
  • Computer category close
Намира вътрешна тест инстанция с предоставените props.
Find a single descendant test instance with the provided props.
Намира всички вътрешни тест инстанции с предоставените props.
Find all descendant test instances with the provided props.
използвайте this. props. children.
use this. props. children.
Забележете как подаваме props към базовия constructor метод.
Note how we pass props to the base constructor.
Неговите props, включително и onTemperatureChange,
Its props, including onTemperatureChange,
Ако не бъде намерена тест инстанция с предоставените props, ще бъде хвърлена грешка.
If there is not exactly one test instance with the provided props, it will throw an error.
Всички React компоненти трябва да действат като pure функции по отношение на техните props.
All React components must act like pure functions with respect to their props.
React извиква render метода на всеки от TemperatureInput компонентите с подадените от Calculator props.
React calls the render methods of the individual TemperatureInput components with their new props specified by the Calculator.
компоненти, props и състояние(state).
components, props, and state.
В имената на props temperature и onTemperatureChange не влагаме никакво специално значение.
There is no special meaning to either temperature or onTemperatureChange prop names in custom components.
Тъй като FancyBorder рендерира{props. children}
Since FancyBorder renders{props. children}
той никога не трябва да променя собствените си props.
it must never modify its own props.
След това ще променим компонента Board, така че да получава squares и onClick props от компонента Game.
Next, we will have the Board component receive squares and onClick props from the Game component.
State e подобен на props, но е вътрешен за компонента
State is similar to props, but it is private
Component, можем да напишем функция, която взима props като вход и връща това, което трябва да се визуализира.
Component, we can write a function that takes props as input and returns what should be rendered.
така че можете да ги подадете като props като всички други данни.
so you can pass them as props like any other data.
Входните данни, които се предават в компонента, могат да бъдат достъпни в render() чрез this. props.
Input data that is passed into the component can be accessed by render() via this. props.
Ако дефинираме React компонент като клас и добавим конструктор то той трябва винаги да започнем със super(props).
All React component classes that have a constructor should start it with a super(props) call.
компоненти, props и състояние(state).
components, props, and state.
Ако някакви данни могат да бъдат извлечени от props вместо от state, най-вероятно не би трябвало да са в state.
If something can be derived from either props or state, it probably shouldn't be in the state.
Резултати: 85, Време: 0.0364

Най-популярните речникови заявки

Български - Английски