Skip to content
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

How to understand the word "taint" in the new APIs taintObjectReference and taintUniqueValue? #1342

Closed
Yucohny opened this issue Oct 16, 2023 · 1 comment
Labels
discussion Need discussion

Comments

@Yucohny
Copy link
Collaborator

Yucohny commented Oct 16, 2023

I used to open an issue on react.dev to discuss the meaning of the word taint in the APIs. You can see reactjs/react.dev#6343.
My opinion is that while taint can be directly understood as 污染 or 污点 in the field of computer science and in some related concepts (such as in Kubernetes), considering its current meaning in React-related APIs, I believe that when translating it into Chinese, we should not use words with a clearly negative connotation.
From the perspective of APIs, the meaning of "taint" seems more like labeling objects with special behavior. So, I think translating it as 标记 is appropriate. I will also use this meaning in the translated documentation.
Welcome everyone to discuss this issue.

@Yucohny Yucohny added the discussion Need discussion label Oct 16, 2023
@awxiaoxian2020
Copy link
Collaborator

@Yucohny Yucohny closed this as completed Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Need discussion
Projects
None yet
Development

No branches or pull requests

2 participants