effect hooks bangla translation#71
effect hooks bangla translation#71sabbirshawon wants to merge 3 commits intostale-reactjs-org-translations:mainfrom
Conversation
|
Deploy preview for bn-reactjs ready! Built with commit 6a129c0 |
|
@nutboltu Can you please check this one brother? |
I'll take a look. can you please resolve this extra line that |
|
is there any update brother @nutboltu |
|
@sabbirshawon Your translation has added a new line. Do a diff with |
|
@sabbirshawon I will take a look and give you feedback shortly! |
nutboltu
left a comment
There was a problem hiding this comment.
@sabbirshawon can you please follow the Glossary?
https://github.com/reactjs/bn.reactjs.org/wiki/Glossary
There are a few common words we shouldn't translate. e.g (React, Component)
| --- | ||
| id: hooks-state | ||
| title: Using the Effect Hook | ||
| title: Effect Hooks এর ব্যবহার |
| --- | ||
|
|
||
| *Hooks* are a new addition in React 16.8. They let you use state and other React features without writing a class. | ||
| *Hooks* - React 16.8 এ নতুন সংযোজন। তারা আপনাকে ক্লাস না লিখে state এবং অন্যান্য প্রতিক্রিয়া বৈশিষ্ট্যগুলি ব্যবহার করতে দেয়। |
There was a problem hiding this comment.
Please remove - before React
প্রতিক্রিয়া -> React
বৈশিষ্ট্যগুলি -> ফিচারকে
| *Hooks* - React 16.8 এ নতুন সংযোজন। তারা আপনাকে ক্লাস না লিখে state এবং অন্যান্য প্রতিক্রিয়া বৈশিষ্ট্যগুলি ব্যবহার করতে দেয়। | ||
|
|
||
| The *Effect Hook* lets you perform side effects in function components: | ||
| *Effect Hook* আপনাকে ফাংশন উপাদানগুলিতে পার্শ্ব প্রতিক্রিয়া সম্পাদন করতে দেয়: |
There was a problem hiding this comment.
উপাদানগুলিতে -> কম্পোনেন্টকে
|
|
||
| This snippet is based on the [counter example from the previous page](/docs/hooks-state.html), but we added a new feature to it: we set the document title to a custom message including the number of clicks. | ||
| এই স্নিপেট উপর ভিত্তি করে [counter example from the previous page](/docs/hooks-state.html), | ||
| তবে আমরা এতে একটি নতুন বৈশিষ্ট্য যুক্ত করেছি: আমরা ক্লিকের সংখ্যা সহ কাস্টম বার্তায় নথির শিরোনাম সেট করেছি। |
There was a problem hiding this comment.
Please remove this extra line
nutboltu
left a comment
There was a problem hiding this comment.
Though it's a huge PR. I have done the review until Effects Without Cleanup section. Whenever we are done with this I'll review the later part.
| *Hooks* - React 16.8 এ নতুন সংযোজন। তারা আপনাকে ক্লাস না লিখে state এবং অন্যান্য React ফিচারকে ব্যবহার করতে দেয়। | ||
|
|
||
| The *Effect Hook* lets you perform side effects in function components: | ||
| *Effect Hook* আপনাকে ফাংশন কম্পোনেন্টকে পার্শ্ব React সম্পাদন করতে দেয়: |
There was a problem hiding this comment.
পার্শ্ব React সম্পাদন করতে দেয়?
| ``` | ||
|
|
||
| This snippet is based on the [counter example from the previous page](/docs/hooks-state.html), but we added a new feature to it: we set the document title to a custom message including the number of clicks. | ||
| এই স্নিপেট উপর ভিত্তি করে [counter example from the previous page](/docs/hooks-state.html), তবে আমরা এতে একটি নতুন বৈশিষ্ট্য যুক্ত করেছি: আমরা ক্লিকের সংখ্যা সহ কাস্টম বার্তায় নথির শিরোনাম সেট করেছি। |
There was a problem hiding this comment.
please translate counter example from the previous page
Let's be consistent about feature.
বৈশিষ্ট্য -> ফিচার
বার্তায় -> মেসেজ
নথির -> ডকুমেন্টের
| এই স্নিপেট উপর ভিত্তি করে [counter example from the previous page](/docs/hooks-state.html), তবে আমরা এতে একটি নতুন বৈশিষ্ট্য যুক্ত করেছি: আমরা ক্লিকের সংখ্যা সহ কাস্টম বার্তায় নথির শিরোনাম সেট করেছি। | ||
|
|
||
| Data fetching, setting up a subscription, and manually changing the DOM in React components are all examples of side effects. Whether or not you're used to calling these operations "side effects" (or just "effects"), you've likely performed them in your components before. | ||
| তথ্য আনা, একটি সাবস্ক্রিপশন সেট আপ, এবং React কম্পোনেন্টকে ম্যানুয়ালি DOM পরিবর্তন করা পার্শ্ব React গুলির উদাহরণ। আপনি এই অপারেশনগুলিকে "পার্শ্ব প্রতিক্রিয়া" (or just "effects"), বলার জন্য অভ্যস্ত কিনা বা না, আপনি সম্ভবত আপনার কম্পোনেন্টকে এগুলি সম্পাদন করেছেন। |
There was a problem hiding this comment.
Can you re-translate this line again?
- Please translate
or just "effects" - পার্শ্ব React?
| >পরামর্শ | ||
| > | ||
| >If you're familiar with React class lifecycle methods, you can think of `useEffect` Hook as `componentDidMount`, `componentDidUpdate`, and `componentWillUnmount` combined. | ||
| >আপনি যদি React শ্রেণীর জীবনচক্র পদ্ধতিগুলির সাথে পরিচিত হন তবে আপনি `UseEffect` হুককে `componentDidMount`, `componentDidUpdate` এবং `componentWillUnmount` সম্মিলিত হিসাবে ভাবতে পারেন। |
There was a problem hiding this comment.
শ্রেণীর জীবনচক্র?
UseEffect -> useEffect
| >আপনি যদি React শ্রেণীর জীবনচক্র পদ্ধতিগুলির সাথে পরিচিত হন তবে আপনি `UseEffect` হুককে `componentDidMount`, `componentDidUpdate` এবং `componentWillUnmount` সম্মিলিত হিসাবে ভাবতে পারেন। | ||
|
|
||
| There are two common kinds of side effects in React components: those that don't require cleanup, and those that do. Let's look at this distinction in more detail. | ||
| React কম্পোনেন্টকে দুটি সাধারণ ধরণের পার্শ্ব React রয়েছে: সেগুলির পরিষ্কার-পরিচ্ছন্নতার প্রয়োজন হয় না এবং সেগুলি করে। আসুন আরও বিস্তারিত এই পার্থক্যটি দেখি। |
There was a problem hiding this comment.
পার্শ্ব React?
React কম্পোনেন্টকে দুটি সাধারণ ধরণের পার্শ্ব React রয়েছে: সেগুলির পরিষ্কার-পরিচ্ছন্নতার প্রয়োজন হয় না এবং সেগুলি করে। - Can you please re-translate it again?
| There are two common kinds of side effects in React components: those that don't require cleanup, and those that do. Let's look at this distinction in more detail. | ||
| React কম্পোনেন্টকে দুটি সাধারণ ধরণের পার্শ্ব React রয়েছে: সেগুলির পরিষ্কার-পরিচ্ছন্নতার প্রয়োজন হয় না এবং সেগুলি করে। আসুন আরও বিস্তারিত এই পার্থক্যটি দেখি। | ||
|
|
||
| ## Effects Without Cleanup {#effects-without-cleanup} |
| ## Effects Without Cleanup {#effects-without-cleanup} | ||
|
|
||
| Sometimes, we want to **run some additional code after React has updated the DOM.** Network requests, manual DOM mutations, and logging are common examples of effects that don't require a cleanup. We say that because we can run them and immediately forget about them. Let's compare how classes and Hooks let us express such side effects. | ||
| কখনও কখনও, আমরা চাই **রিঅ্যাক্টটি DOM আপডেট করার পরে কিছু অতিরিক্ত কোড চালাও।** নেটওয়ার্ক requests, ম্যানুয়াল DOM রূপান্তর এবং লগিং এফেক্টগুলির সাধারণ উদাহরণ যা পরিষ্কার করার প্রয়োজন হয় না। আমরা বলি কারণ আমরা তাদের চালাতে পারি এবং তাত্ক্ষণিকভাবে সেগুলি ভুলে যেতে পারি। তুলনা করি, কীভাবে ক্লাস এবং হুকস আমাদের এ জাতীয় পার্শ্ব React প্রকাশ করতে দেয়। |
There was a problem hiding this comment.
রিঅ্যাক্টটি -> React
চালাও।-> চালাতে।
আমরা বলি কারণ আমরা তাদের চালাতে পারি এবং তাত্ক্ষণিকভাবে সেগুলি ভুলে যেতে পারি। তুলনা করি, কীভাবে ক্লাস এবং হুকস আমাদের এ জাতীয় পার্শ্ব React প্রকাশ করতে দেয়। - Please re-translate this line

No description provided.