-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
书写格式错误 #11413
Comments
so what is your question here ? |
err:By default, # React DOM escapes any values embedded in JSX before rendering them. Thus it ensures that you can never inject anything that’s not explicitly written in your application. Everything is converted to a string before being rendered. This helps prevent XSS (cross-site-scripting) attacks. revamp:By default, # ReactDOM escapes any values embedded in JSX before rendering them. Thus it ensures that you can never inject anything that’s not explicitly written in your application. Everything is converted to a string before being rendered. This helps prevent XSS (cross-site-scripting) attacks. |
Well :O? |
What @liushuai512 was saying is that in the quoted message (probably it is coming from docs), there should not be a space between React and DOM. So React DOM should be changed to ReactDOM |
This doesn't really matter. We use "ReactDOM" when we talk about the entry point in code, but "React DOM" is the colloquial name for the renderer (just like "React Native"). Also please file issues about documentation in https://github.com/reactjs/reactjs.org. Thanks! |
`
JSX Prevents Injection Attacks
By default, React DOM escapes any values embedded in JSX before rendering them. Thus it ensures that you can never inject anything that's not explicitly written in your application. Everything is converted to a string before being rendered. This helps prevent XSS (cross-site -scripting) attacks.`
错误:加粗的名字出现错误,应该改为
The text was updated successfully, but these errors were encountered: