
Context – React
React previously shipped with an experimental context API. The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
Legacy Context – React
React has an API to update context, but it is fundamentally broken and you should not use it. The getChildContext function will be called when the state or props changes.
Context – React
React vừa mang đến một context API thử nghiệm. API cũ sẽ hỗ trợ trong tất cả phiên bản 16.x, nhưng những ứng dụng sử dụng nó nên nâng cấp lên phiên bản mới hơn.
Context – React
先前 React 使用实验性的 context API 运行,旧的 API 将会在所有 16.x 版本中得到支持,但用到它的应用应该迁移到新版本。 过时的 API 将在未来的 React 版本中被移除。
Context – React
Context está diseñado para compartir datos que pueden considerarse “globales” para un árbol de componentes en React, como el usuario autenticado actual, el tema o el idioma preferido.
Context – React
context는 React 컴포넌트 트리 안에서 전역적 (global)이라고 볼 수 있는 데이터를 공유할 수 있도록 고안된 방법입니다. 그러한 데이터로는 현재 로그인한 유저, 테마, 선호하는 언어 등이 있습니다.
コンテクスト – React
レガシーな API は将来の React メジャーバージョンで削除されます。 レガシーなコンテクストのドキュメントはここにあります。
Контекст – React
Каждый объект Context используется вместе с Provider компонентом, который позволяет дочерним компонентам, использующим этот контекст, подписаться на его изменения.
Hooks API Reference – React
This example is modified for hooks from a previous example in the Context Advanced Guide, where you can find more information about when and how to use Context.
Context – React
Versões anteriores do React foram disponibilizadas com uma versão experimental do context API. Esta versão antiga da API será suportada em todas versões 16.x lançadas mas, …