Що таке ПРОП Англійською - Англійська переклад

Дієслово
prop
проп
реквізит
опору
пропом
підпірка
ходульного
підпорою

Приклади вживання Проп Українська мовою та їх переклад на Англійською

{-}
  • Colloquial category close
  • Ecclesiastic category close
  • Computer category close
Вони не можуть прийняти цю проп.
They can't understand that pride.
До нього додамо проп scale, який може бути"c" або"f".
We will add a new scale prop to it that can either be"c" or"f".
Ви можете передати рядковий літерал як проп.
You can pass a string literal as a prop.
Ви можете оголосити, що проп має вказаний JS-тип.
You can declare that a prop is a specific JS type. By default, these.
В цьому випадку буде показано попередження, якщо проп не надано.
Is shown if the prop isn't provided.
Ви можете вказати, що проп має бути екземпляром вказаного класу.
You can also declare that a prop is an instance of a class. This uses.
EnhancedComponent буде щоразу друкувати в консоль, коли отримає новий проп.
EnhancedComponent will log whenever props are received.
В такому випадку є сенс перейменувати проп в initialColor чи defaultColor.
In that case, it makes sense to rename the prop to be called initialColor or defaultColor.
Попередження: Кожен дочірній компонент у масиві абоітераторі повинен мати унікальний проп“key”.
Warning: Each child in an array oriterator should have a unique“key” prop.
Він приймає температуру celsius як проп і виводить, чи її достатньо для закипання.
It accepts the celsius temperature as a prop, and prints whether it is enough to boil the water.
У методі renderSquare компонента Board змініть код, щоб передати проп value компоненту Square.
In Board's renderSquare method, change the code to pass a prop called value to the Square.
Нам не потрібно створювати нову підписку для кожного оновлення, алише тоді, коли змінився проп source.
We don't need to create a new subscription on every update,only if the source prop has changed.
Щоб вирішити цю проблему, ви можете визначити проп як метод екземпляру, наприклад так.
To get around this problem, you can sometimes define the prop as an instance method, like so.
Ви щойно“передали проп” від батьківського компонента Board до дочірнього компонента Square.
You have just“passed a prop” from a parent Board component to a child Square component.
Кожен компонент Square тепер отримуватиме проп value, який відповідатиме'X', 'O', або null для пустих клітинок.
Each Square will now receive a value prop that will either be'X','O', or null for empty squares.
Якщо якийсь проп отримає невірне значення, в консолі JavaScript буде показано попередження.
When an invalid value is provided for a prop, a warning will be shown in the JavaScript console.
Якщо вам потрібно повторно обрахувати якісь дані лише коли проп змінюється, використовуйте натомість допоміжний метод мемоізації.
If you want to re-compute some data only when a prop changes, use a memoization helper instead.
На початку ми передали проп value з компонента Board, щоб відобразити числа від 0 до 8 у кожному Square.
In the beginning, we passed the value prop down from the Board to show numbers from 0 to 8 in every Square.
Однак тепер, коли temperature надходить від батьківського компонента як проп, TemperatureInput не має контролю над ним.
However, now that the temperature is coming from the parent as a prop, the TemperatureInput has no control over it.
З'явившись попереджувальні написи, проп обмежувачі і впускні кришки плюс ще з попередньо інтернату контрольного списку.
Appearing warning labels, prop restraints and intake covers plus more from a pre-boarding checklist.
Якщо ви користуєтеся версією React 16. 2 або нижче, або ви потребуєте більшої гнучкості, ніж вам дає перенаправлення рефів,ви можете скористатися альтернативним підходом та явно передати реф як проп з іменем відмінним від ref.
If you use React 16.2 or lower, or if you need more flexibility than provided by ref forwarding, youcan use this alternative approach and explicitly pass a ref as a differently named prop.
Також запам'ятайте, що проп children не обов'язково повинен бути зазначений у списку«атрибутів» у вашому JSX-елементі.
And remember, the children prop doesn't actually need to be named in the list of“attributes” in your JSX element.
Один рік призначене для ознайомлення студентів на практику навчання на основі в усіх технічних департаментів, включаючи освітлення,звук, проп рішень, сценічного мистецтва, костюм, набір будівництва та управління стадії.
Year one is designed to introduce students to practice based training in all technical departments including lighting,sound, prop making, scenic art, costume, set construction and stage management.
У попередньому прикладі, проп kind використовується безпечно та не передається в елемент <button>, що знаходиться в DOM.
In the example above, the kind prop is safely consumed and is not passed on to the<button> element in the DOM.
Важливо пам'ятати, що із назви патерну“рендер-пропси” зовсім не слідує,що для його використання ви повинні використовувати проп з ім'ям render.
It's important to remember that just because the pattern iscalled“render props” you don't have to use a prop named render to use this pattern.
Насправді будь-який проп, який є функцією і використовується компонентом для визначення того, що рендерити, технічно є“рендер-пропом”.
In fact, any prop that is a function that a component uses to know what to render is technically a“render prop”.
У попередньому прикладі, Parent передає свій реф зворотнього виклику як проп inputRef нащадку CustomTextInput, і вже CustomTextInput передає цю функцію як спеціалізований атрибут ref до <input>. Як результат, this.
In the example above,Parent passes its ref callback as an inputRef prop to the CustomTextInput, and the CustomTextInput passes the same function as a special ref attribute to the<input>. As a result, this.
Ми можемо використати проп<Cat mouse={{ x, y}}> для передачі компоненту координати миші, щоб він знав де розмістити зображення на екрані.
We might use a<Cat mouse={{ x, y}}> prop to tell the component the coordinates of the mouse so it knows where to position the image on the screen.
Children працює так само, як і будь-який інший проп, тому він може передавати будь-який тип даних, а не тільки ті, що React знає як рендерити.
Children works just like any other prop in that it can pass any sort of data, not just the sorts that React knows how to render.
В тих випадках, коли ви не можете статично задати проп(наприклад тому, що вам потрібно замкнути пропси та/або стан компоненту),<Mouse> повинно наслідувати React. Component.
In cases where you cannot define the prop statically(e.g. because you need to close over the component's props and/or state)<Mouse> should extend React. Component instead.
Результати: 71, Час: 0.019

Найпопулярніші словникові запити

Українська - Англійська