Skip to content

Commit 8bf2002

Browse files
authored
Revise useState explanation in state-a-components-memory.md
Updated the explanation of useState in Bengali and English.
1 parent 985b861 commit 8bf2002

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/content/learn/state-a-components-memory.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,7 @@ const [index, setIndex] = useState(0);
360360

361361
</Note>
362362

363-
<<<<<<< HEAD
364-
`useState` এর একমাত্র আর্গুমেন্ট হচ্ছে আপনার state ভ্যারিয়েবলের **initial value**। এই উদাহরণে, `index` এর initial value `useState(0)` দিয়ে `0` তে সেট করা।
365-
=======
366-
The only argument to `useState` is the **initial value** of your state variable. In this example, the `index`'s initial value is set to `0` with `useState(0)`.
367-
>>>>>>> abe931a8cb3aee3e8b15ef7e187214789164162a
363+
`useState` এর একমাত্র আর্গুমেন্ট হচ্ছে আপনার state ভ্যারিয়েবলের **initial value**। এই উদাহরণে, `index` এর initial value `useState(0)` দিয়ে `0` তে সেট করা।
368364

369365
প্রতিবার যখন আপনার কম্পোনেন্ট রেন্ডার হয়, `useState` আপনাকে দুটি মান সহ একটি অ্যারে দেয়ঃ
370366

0 commit comments

Comments
 (0)