Skip to content

Commit bfdd321

Browse files
fix link
1 parent 5596d6e commit bfdd321

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/learn/your-first-component.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ function Profile() {
219219

220220
[基於 React 的框架]((/learn/start-a-new-react-project)) 更進一步。它們不只是使用空的 HTML 檔案並讓 React 通過 JavaScript 管理頁面,它們*還會*自動從你的 React component 中生成 HTML。這使得你的應用程式在 JavaScript 程式碼載入之前就能顯示一些內容。
221221

222-
儘管如此,許多網站僅使用 React 來[增加「互動性」](/learn/add-react-to-a-website),它們有許多 root component,而不是整個頁面中的單個 component。你可以根據需求盡可能多或盡可能少地使用 React。
222+
儘管如此,許多網站僅使用 React 來[增加「互動性」](/learn/add-react-to-an-existing-project#using-react-for-a-part-of-your-existing-page),它們有許多 root component,而不是整個頁面中的單個 component。你可以根據需求盡可能多或盡可能少地使用 React。
223223

224224
</DeepDive>
225225

@@ -343,9 +343,9 @@ img { height: 180px; }
343343
```js
344344
export default function Profile() {
345345
return (
346-
<img
347-
src="https://i.imgur.com/jA8hHMpm.jpg"
348-
alt="Katsuko Saruhashi"
346+
<img
347+
src="https://i.imgur.com/jA8hHMpm.jpg"
348+
alt="Katsuko Saruhashi"
349349
/>
350350
);
351351
}

0 commit comments

Comments
 (0)