Skip to content

The Glossary Sheet

Xavi Lee edited this page Feb 8, 2024 · 9 revisions

React 翻译参考

针对特定词汇的讨论请翻阅 issue,若未能寻得相关讨论,请开启新的 issue

  • 本术语表只适用于该术语作为整体概念时的翻译参考,当其作为概念的一部分时,视具体情况翻译。

React 中英文对照表

术语 译文
asserts 断言
Application 应用
breaking change 破坏性更改
callback 回调函数
Class Components 类式组件
Composition 组合
conditional rendering 条件渲染
controlled components 受控组件
Cross-Cutting Concerns 横切关注点
data 数据
Declarative 声明式
derective 指示符
derived state 派生状态
development / production 开发环境/生产环境
DevTools 开发者工具
Elements 元素
Embedding Expressions 嵌入表达式
escape hatches 脱围机制
External Plugins 外部插件
fallback (adj.) 后备(的)#1356
fallback (n.) 后备方案
fallback (v.) 回退
Function component 函数组件
Functional Components 函数式组件
function signature 函数签名
HOC 高阶函数(HOC)
higher-order-component 高阶函数
Handling Events 事件处理
imperative handle 命令式句柄
Inheritance 继承
Legacy 过时
local state 内部 state
mock 设计稿
operator 运算符
prop drilling prop 逐级透传
Reconciliation 协调
render 渲染
Reusable 可复用
shallow rendering 浅层渲染
Stateful Component 有状态组件
syntax 语法
taint (n.) 污点
taint (v.) 污染
tainted (adj.) 被污染的
tainting (adj.) 污点标记
Third Plugins 第三方插件
uncontrolled components 非受控组件
Vendor Prefix 浏览器引擎

通用

原文 译文
Code linters 代码检查工具
example 示例
For example 例如
Importing 如何引入
In this chapter 本章节
Note 注意
opt-in 可选
Overview 概览
Reference 参考
section 章节
Tip 提示
Tutorial 教程
Try it on CodePen 在 CodePen 上尝试
What's next 下节预告

有时无需翻译的内容

  • 原文术语大小写一致时和下表一致的优先不翻译,大小写不一致的,视具体情况决定是否翻译,如需翻译,可参考可选翻译一列。
  • 下表只适用于该术语作为整体概念时的参考,当其作为概念的一部分时,视具体情况决定是否翻译,如需翻译,可参考可选翻译一列。
  • 中文文档中,术语的大小写和单复数请跟下表保持一致,例如原文的 props 不需要改为单数。
术语 可选翻译
Attributes
bundle
class
Consumer
context
Create React App
DOM
Effect 副作用
Fiber
fragments
Good/Bad
Hook
hydrate/hydration
mixins
Mutation
package
polyfill
Portal
PropTypes
Provider
props / prop
React
ref
state 状态
Tick
UI 用户界面
Web
Web Components
wrapper

不需翻译的链接

  • Wikipedia
  • MDN