reactjs / react.dev

The React documentation website
https://react.dev/
Creative Commons Attribution 4.0 International
11k stars 7.52k forks source link

Error #6448

Closed bestbelfast closed 10 months ago

bestbelfast commented 10 months ago

When I was learning createRoot in the client API, when I clicked on the link under domNode, I found the link error

harish-sethuraman commented 10 months ago

Hey I checkout that page and links seemed fine. Can you provide the exact link to which you were re directed to? and which text you clicked?

bestbelfast commented 10 months ago

Thanks for reply,I am from China and study on the official website in Chinese.(https://react.docschina.org/reference/react-dom/client/createRoot) When I click "[DOM 元素]",the link is (https://react.docschina.org/https%EF%BC%9A/developer.mozilla.org/zh-CN/docs/Web/API/Element),which shows "This page doesn’t exist."

pwbriggs commented 10 months ago

@bestbelfast thanks for reporting this error!

For future reference, the source files for the Chinese translation of the documentation site are in the zh-hans.react.dev repository. I've opened a PR in that repo to fix the link you mentioned.

Yucohny commented 10 months ago

@bestbelfast @pwbriggs https://github.com/reactjs/zh-hans.react.dev/pull/1401 has been merged. Thanks for your feedback.