Skip to content

Commit

Permalink
Fix link in thinking-in-react.md (#1115)
Browse files Browse the repository at this point in the history
Hello @lumirlumir @devwqc,
I'm really happy to see that you're maintaining this translation. As a
fellow [Serbian translator](https://github.com/reactjs/sr.react.dev) I
must admit it's a really hard and extensive job.

I've created this PR based on the issue
(reactjs/react.dev#7398) on main repo which I
noticed.
Since I don't speak korean, I hope you're ok with me contributing to
this repo ๐Ÿ˜‰
I wish you all luck with maintaining and improving this repo ๐Ÿš€

Co-authored-by: ๋ฃจ๋ฐ€LuMir <[email protected]>
  • Loading branch information
rammba and lumirlumir authored Jan 4, 2025
1 parent 1369aa4 commit 3825c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/learn/thinking-in-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ props์™€ state๋Š” ๋‹ค๋ฅด์ง€๋งŒ, ํ•จ๊ป˜ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค. state๋Š” ๋ณดํ†ต ๋ถ€๋ชจ

์ด์ œ state ๊ฐ’์€ `FilterableProductTable`์•ˆ์— ์žˆ์Šต๋‹ˆ๋‹ค.

[`useState()` Hook](/apis/usestate)์„ ์ด์šฉํ•ด์„œ state๋ฅผ ์ปดํฌ๋„ŒํŠธ์— ์ถ”๊ฐ€ํ•˜์„ธ์š”. Hooks๋Š” React ๊ธฐ๋Šฅ์— "์—ฐ๊ฒฐํ•  ์ˆ˜(hook into)" ์žˆ๊ฒŒ ํ•ด์ฃผ๋Š” ํŠน๋ณ„ํ•œ ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค. `FilterableProductTable`์˜ ์ƒ๋‹จ์— ๋‘ ๊ฐœ์˜ state ๋ณ€์ˆ˜๋ฅผ ์ถ”๊ฐ€ํ•ด์„œ ์ดˆ๊นƒ๊ฐ’์„ ๋ช…ํ™•ํ•˜๊ฒŒ ๋ณด์—ฌ์ฃผ์„ธ์š”.
[`useState()` Hook](/reference/react/useState)์„ ์ด์šฉํ•ด์„œ state๋ฅผ ์ปดํฌ๋„ŒํŠธ์— ์ถ”๊ฐ€ํ•˜์„ธ์š”. Hooks๋Š” React ๊ธฐ๋Šฅ์— "์—ฐ๊ฒฐํ•  ์ˆ˜(hook into)" ์žˆ๊ฒŒ ํ•ด์ฃผ๋Š” ํŠน๋ณ„ํ•œ ํ•จ์ˆ˜์ž…๋‹ˆ๋‹ค. `FilterableProductTable`์˜ ์ƒ๋‹จ์— ๋‘ ๊ฐœ์˜ state ๋ณ€์ˆ˜๋ฅผ ์ถ”๊ฐ€ํ•ด์„œ ์ดˆ๊นƒ๊ฐ’์„ ๋ช…ํ™•ํ•˜๊ฒŒ ๋ณด์—ฌ์ฃผ์„ธ์š”.

```js
function FilterableProductTable({ products }) {
Expand Down

0 comments on commit 3825c05

Please sign in to comment.