"У react" is not found on TREX in Ukrainian-English direction
Try Searching In English-Ukrainian
(
У react)
Для розробки мобільних додатків в 2015 році у React з'явилася нативна бібліотека ReactJS Native для роботи під IOS і Android.
In 2015 React got native library ReactJS Native for mobile apps development under IOS and Android.Він виконує таку ж саму роль, що і componentDidMount, componentDidUpdate та componentWillUnmount у React-класах, об'єднавши їх в єдиний API.
It serves the same purpose as componentDidMount, componentDidUpdate, and componentWillUnmount in React classes, but unified into a single API.Як розробник, ви можете використовувати React у своїх веб-компонентах, або використовувати веб-компоненти у React, або і те, і інше.
As a developer, you are free to use React in your Web Components, or to use Web Components in React, or both.У React загальноприйнятим вважається використанняon[Event] імен для пропсів,
In React, however, it is a convention to use on[Event]У React <input type="file"/>
In React, an<input type="file"/>Хуки вирішують великий діапазон скоріш за все непоєднаних проблем у React, на які ми натрапили при написанні та підтриманні десятків тисяч компонентів протягом пʼяти років.
Hooks solve a wide variety of seemingly unconnected problems in React that we have encountered over five years of writing and maintaining tens of thousands of components.Подія, згенерована зсередини порталу, буде поширюватися до батьків, що містяться у React-дереві, навіть якщо ці елементи не є батьківськими в DOM-дереві.
An event fired from inside a portal will propagate to ancestors in the containing React tree, even if those elements are not ancestors in the DOM tree.У React HTML-елементи форм працюють дещо інакше, ніж інші DOM-елементи, тому що елементи форм від початку мають певний внутрішній стан.
HTML form elements work a little bit differently from other DOM elements in React, because form elements naturally keep some internal state.Традиційно, проблеми продуктивності вбудованих функцій у React були пов'язані з тим, як передача нових функцій зворотнього виклику при кожному рендері порушує оптимізації shouldComponentUpdate у дочірніх компонентах.
Traditionally, performance concerns around inline functions in React have been related to how passing new callbacks on each render breaks shouldComponentUpdate optimizations in child components.коли ви використовуєте Context API у класах(зі старим contextTypes або з сучасним contextType API доданим у React 16.6), context передається другим аргументом до конструктора.
the modern contextType API added in React 16.6), context is passed as a second argument to the constructor.Створення гри допоможе розібратися з найпоширенішими методами у розробці React-додатків.
Completing the Game will teach you the most common techniques in React development.Вам потрібно вручну додати обробники для таких подій у власні React-компоненти.
You will need to manually attach event handlers to handle these events within your React components.Style найчастіше використовується у програмах React для додавання динамічно-обчислювальних стилів під час рендеру.
Style is most often used in React applications to add dynamically-computed styles at render time.У компонентах React, повторне використання коду в першу чергу досягається за допомогою композиції, а не наслідування.
In React components, code reuse is primarily achieved through composition rather than inheritance.Якщо ви не ініціалізуєте стан і не прив'язуєте методи, вам не потрібно реалізовувати конструктор у вашому React-компоненті.
If you don't initialize state and you don't bind methods, you don't need to implement a constructor for your React component.Використання хуків у React.
Using hooks in React.У React це може виглядати так.
In React, this could instead be.Якщо ваша функція, згорнута у React.
If your function component wrapped in React.Хуки є новим доповненням у React 16. 8.
Hooks are a new addition in React 16.8.Ця сторінка описує API для вбудованих у React хуків.
This page describes the APIs for the built-in Hooks in React.
Українська
عربى
Български
বাংলা
Český
Dansk
Deutsch
Ελληνικά
Español
Suomi
Français
עִברִית
हिंदी
Hrvatski
Magyar
Bahasa indonesia
Italiano
日本語
Қазақ
한국어
മലയാളം
मराठी
Bahasa malay
Nederlands
Norsk
Polski
Português
Română
Русский
Slovenský
Slovenski
Српски
Svenska
தமிழ்
తెలుగు
ไทย
Tagalog
Turkce
اردو
Tiếng việt
中文