You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/learn/extracting-state-logic-into-a-reducer.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1873,7 +1873,7 @@ case 'changed_selection': {
1873
1873
};
1874
1874
```
1875
1875
1876
-
This is because you don't want to share a single message draft between several recipients. But it would be better if your app "remembered" a draft for each contact separately, restoring them when you switch contacts.
1876
+
এটা এ কারণে যাতে আপনি একই ড্রাফট মেসেজ একাধিক প্রাপকের সাথে শেয়ার না করেন। তবে এটা আরো সুন্দর হতো যদি আপনার অ্যাপ আলাদা আলাদা করে প্রত্যেক কন্টাক্টের জন্য ড্রাফট "মনে রাখতে পারতো", আর যখন আপনি কন্টাক্ট পরিবর্তন করতেন তখন ড্রাফট ফিরিয়ে আনতো।
1877
1877
1878
1878
Your task is to change the way the state is structured so that you remember a separate message draft _per contact_. You would need to make a few changes to the reducer, the initial state, and the components.
0 commit comments