Skip to content

Commit

Permalink
add link to state variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedBaset authored Aug 20, 2023
1 parent ff4450c commit f70b740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/useState.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: useState

<Intro>

`useState` هو Hook في React يتيح لك إضافة متغير حالة إلى مكونك
`useState` هو Hook في React يتيح لك إضافة [متغير حالة](/learn/state-a-components-memory) إلى مكونك

```js
const [state, setState] = useState(initialState);
Expand Down

0 comments on commit f70b740

Please sign in to comment.