-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
译文翻译完成,resolve #9526 #9563
base: master
Are you sure you want to change the base?
译文翻译完成,resolve #9526 #9563
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
麻烦译者翻译的时候注意:
- 使用翻译软件翻译后,一定要清理干净尾巴,您-你混用、代码格式混乱、空格混乱
- L268-L857 全部没翻译
@@ -5,40 +5,40 @@ | |||
> * 译者: | |||
> * 校对者: | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
麻烦给一个标题:)
pls, translate the title and add it to the body part of the markdown :)
|
||
When it comes to interviewing for a React frontend developer position, being well-prepared for the technical questions is crucial. React has become one of the most popular JavaScript libraries for building user interfaces, and employers often focus on assessing a candidate's understanding of React's core concepts, best practices, and related technologies. In this article, we will explore a comprehensive list of questions commonly asked during React frontend developer interviews. By familiarizing yourself with these questions and their answers, you can enhance your chances of success and demonstrate your proficiency in React development. So, let's dive in and explore the key topics that you should be ready to tackle in a React Frontend Developer interview. | ||
当面试 React 前端开发人员职位时,为技术问题做好充分准备是至关重要的。React 已经成为最流行的用于构建用户界面的 JavaScript 库之一,雇主经常关注于评估应聘者对 React 的核心概念、最佳实践和相关技术的理解程度。在这篇文章中,我们将探讨一下React 前端开发面试中涉及到的一系列问题。通过了解这些问题的答案,你可以提高你面试成功的次数,并展示你在 React 开发中的熟练程度。因此,让我们深入探讨一下您在 React 前端开发面试中应该准备好的题目。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 在面试 React 前端开发人员职位时,做好技术问题的充分准备是至关重要的。(感觉原文不是很贴合现代汉语的表达)
- 第二句话存在一个句子里面多个主谓宾结构
- 展示=>展现(一般用展现能力多点吧)
- 您、你的混用,这里其实建议全文改成你,“您”的使用,有点太高高在上了
- `useState`: 管理函数组件中的状态。 | ||
- `useEffect`: 在函数组件中执行副作用,例如获取数据或订阅事件。 | ||
- `useContext`: 访问函数组件中的 React 上下文的值。 | ||
- `useRef`: 创建渲染过程持久存在的元素或者值的可变的引用。 | ||
- `useCallback`: 缓存函数以防止不必要的重新渲染。 | ||
- `useMemo`: 缓存值,通过缓存昂贵的计算结果来提高性能。 | ||
- `useReducer`: 使用 reducer 函数管理状态,类似于 Redux 的工作方式。 | ||
- `useLayoutEffect`: 类似于 useEffect,但是在所有 DOM 更新之后会同步执行副作用函数。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
标点符号麻烦更改为全角的 :
|
||
These hooks provide powerful tools for managing state, handling side effects, and reusing logic in React functional components. | ||
这些钩子为React 函数组件提供了强有力的工具,以用来管理状态、处理副作用和复用逻辑。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 参照格式规范,React 前面应该加空格
- 以、用来,语义重复了
- `useState`: 管理函数组件中的状态。 | ||
- `useEffect`: 在函数组件中执行副作用,例如获取数据或订阅事件。 | ||
- `useContext`: 访问函数组件中的 React 上下文的值。 | ||
- `useRef`: 创建渲染过程持久存在的元素或者值的可变的引用。 | ||
- `useCallback`: 缓存函数以防止不必要的重新渲染。 | ||
- `useMemo`: 缓存值,通过缓存昂贵的计算结果来提高性能。 | ||
- `useReducer`: 使用 reducer 函数管理状态,类似于 Redux 的工作方式。 | ||
- `useLayoutEffect`: 类似于 useEffect,但是在所有 DOM 更新之后会同步执行副作用函数。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
标点符号麻烦更改为全角的 :
@@ -247,21 +247,23 @@ const Child = ({ data }) => { | |||
|
|||
[Learn more](https://react.dev/learn/passing-props-to-a-component) | |||
|
|||
### 11. What is a state manager and which ones have you worked with or know? | |||
### 11. 什么是状态管理,你使用过或者了解过哪些状态管理工具? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
全角符号
[Learn more](https://mobx.js.org/README.html) | ||
|
||
[Learn more](https://redux-toolkit.js.org/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
漏
|
||
[Learn more](https://mobx.js.org/README.html) | ||
|
||
[Learn more](https://redux-toolkit.js.org/) | ||
|
||
### 12. In which cases can you use local state and when should you use global state? | ||
### 12. 什么情况下应该使用本地状态和全局状态? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
全角符号
|
||
### 13. What is a reducer in Redux and what parameters does it take? | ||
### 13. 在 Redux 中什么是 reducer,它接收哪些参数? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
全角符号
|
||
### 13. What is a reducer in Redux and what parameters does it take? | ||
### 13. 在 Redux 中什么是 reducer,它接收哪些参数? | ||
|
||
A reducer is a pure function that takes the state and action as parameters. Inside the reducer, we track the type of the received action and, depending on it, we modify the state and return a new state object. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
L268-L857 全部没翻译
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
翻译完了
译文翻译完成,resolve #9526