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

docs(cn): add writing-markup-with-jsx #614

Closed
wants to merge 2 commits into from

Conversation

songhn233
Copy link
Contributor

src/pages/learn/writing-markup-with-jsx.md Outdated Show resolved Hide resolved

![HTML and JavaScript living in separate files](/images/docs/illustrations/i_html_js.svg)

But as the Web became more interactive, logic increasingly determined content. JavaScript was in charge of the HTML! This is why **in React, rendering logic and markup live together in the same place—components!**
但是随着网页交互复杂度的提升,逻辑愈发决定了内容的展示。 JavaScript 开始主导 HTML 显示的内容!这就是为什么 **在 React 中渲染逻辑和标记存放在一个相同的地方 —— 组件!**
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
但是随着网页交互复杂度的提升,逻辑愈发决定了内容的展示。 JavaScript 开始主导 HTML 显示的内容!这就是为什么 **在 React 中渲染逻辑和标记存放在一个相同的地方 —— 组件!**
但是随着网页交互复杂度的提升,逻辑愈发决定了内容的展示。JavaScript 开始主导 HTML 显示的内容!这就是为什么 **在 React 中渲染逻辑和 markup 存放在一个相同的地方 —— 组件!**

markup 在这里不大好这么翻吧?……我不晓得。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里我当时也觉得有点微妙,不过 现有的文档 也是这样翻译的,我觉得问题不大?

@QC-L
Copy link
Member

QC-L commented Nov 21, 2021

@songhn233 文档换分支和目录了,需要重新提交一份

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants