Skip to content

Commit 5008d6c

Browse files
committed
feat: ✨ Translate Challenge 3 of 4
1 parent 1d0d10e commit 5008d6c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/content/learn/extracting-state-logic-into-a-reducer.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,7 +2053,7 @@ textarea {
20532053
20542054
<Solution>
20552055
2056-
You'll need to update the reducer to store and update a separate message draft per contact:
2056+
আপনাকে reducer টিতে পরিবর্তন আনতে হবে যাতে আপনি আলাদা আলাদা কন্টাক্টের জন্য আলাদা আলাদা ভাবে ড্রাফট মেসেজ স্টোর এবং আপডেট করতে পারেনঃ
20572057
20582058
```js
20592059
// When the input is edited
@@ -2071,13 +2071,13 @@ case 'edited_message': {
20712071
}
20722072
```
20732073
2074-
You would also update the `Messenger` component to read the message for the currently selected contact:
2074+
আপনাকে আরো পরিবর্তন আনতে হবে `Messenger` কম্পোনেন্টটিতে যাতে আপনি বর্তমানে সিলেক্টেড কন্টাক্টটির মেসেজ রিড করতে পারেনঃ
20752075
20762076
```js
20772077
const message = state.messages[state.selectedId];
20782078
```
20792079
2080-
Here is the complete solution:
2080+
এখানে পূর্ণাঙ্গ সমাধান দেয়া হলোঃ
20812081
20822082
<Sandpack>
20832083
@@ -2237,7 +2237,7 @@ textarea {
22372237
22382238
</Sandpack>
22392239
2240-
Notably, you didn't need to change any of the event handlers to implement this different behavior. Without a reducer, you would have to change every event handler that updates the state.
2240+
উল্লেখ্য, এই নতুন ফিচারটি বাস্তবায়ন করতে আপনাকে কোনো ইভেন্ট হ্যান্ডলারে পরিবর্তন আনতে হবে না। Reducer না হলে আপনাকে, স্টেট আপডেট করে এমন প্রতিটি ইভেন্ট হ্যান্ডলারে পরিবর্তন আনতে হতো।
22412241
22422242
</Solution>
22432243

0 commit comments

Comments
 (0)