Skip to content

Commit b06ba68

Browse files
author
MRBadri
committed
Update feedback component and react compiler docs
1 parent 3a9b192 commit b06ba68

File tree

2 files changed

+17
-19
lines changed

2 files changed

+17
-19
lines changed

src/components/Layout/Feedback.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,7 @@ function SendFeedback({onSubmit}: {onSubmit: () => void}) {
7474
{exit: isSubmitted}
7575
)}>
7676
<p className="w-full text-lg font-bold text-primary dark:text-primary-dark me-4">
77-
{isSubmitted
78-
? 'از بازخورد شما سپاسگزاریم!'
79-
: 'آیا این صفحه برایتان مفید بود؟'}
77+
{isSubmitted ? 'از بازخورد شما سپاسگزاریم!' : 'آیا این صفحه مفید بود؟'}
8078
</p>
8179
{!isSubmitted && (
8280
<button
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
---
2-
title: React Compiler
2+
title: کامپایلر ری‌اکت
33
---
44

5-
## Introduction {/*introduction*/}
5+
## مقدمه {/*introduction*/}
66

7-
Learn [what React Compiler does](/learn/react-compiler/introduction) and how it automatically optimizes your React application by handling memoization for you, eliminating the need for manual `useMemo`, `useCallback`, and `React.memo`.
7+
بیاموزید [کامپایلر ری‌اکت چه کاری انجام می‌دهد](/learn/react-compiler/introduction) و چگونه با مدیریت خودکار memoization، برنامه ری‌اکت شما را بهینه‌سازی می‌کند و نیاز به `useMemo`، `useCallback` و `React.memo` دستی را از بین می‌برد.
88

9-
## Installation {/*installation*/}
9+
## نصب {/*installation*/}
1010

11-
Get started with [installing React Compiler](/learn/react-compiler/installation) and learn how to configure it with your build tools.
11+
با [نصب React Compiler](/learn/react-compiler/installation) شروع کنید و یاد بگیرید چگونه آن را با ابزارهای بیلد خود پیکربندی کنید.
1212

1313

14-
## Incremental Adoption {/*incremental-adoption*/}
14+
## پذیرش تدریجی {/*incremental-adoption*/}
1515

16-
Learn [strategies for gradually adopting React Compiler](/learn/react-compiler/incremental-adoption) in your existing codebase if you're not ready to enable it everywhere yet.
16+
[استراتژی‌هایی برای پذیرش تدریجی کامپایلر ری‌اکت](/learn/react-compiler/incremental-adoption) در کدبیس موجود خود بیاموزید، اگر هنوز آماده نیستید که آن را در همه‌جا فعال کنید.
1717

18-
## Debugging and Troubleshooting {/*debugging-and-troubleshooting*/}
18+
## اشکال‌زدایی و رفع مشکلات {/*debugging-and-troubleshooting*/}
1919

20-
When things don't work as expected, use our [debugging guide](/learn/react-compiler/debugging) to understand the difference between compiler errors and runtime issues, identify common breaking patterns, and follow a systematic debugging workflow.
20+
وقتی کارها طبق انتظار پیش نمی‌روند، از [راهنمای اشکال‌زدایی](/learn/react-compiler/debugging) ما استفاده کنید تا تفاوت بین خطاهای کامپایلر و مشکلات زمان اجرا را درک کنید، الگوهای رایج تغییرات مخرب را شناسایی کنید و یک جریان کاری سیستماتیک برای اشکال‌زدایی دنبال کنید.
2121

22-
## Configuration and Reference {/*configuration-and-reference*/}
22+
## پیکربندی و مرجع {/*configuration-and-reference*/}
2323

24-
For detailed configuration options and API reference:
24+
برای گزینه‌های پیکربندی دقیق و مرجع API:
2525

26-
- [Configuration Options](/reference/react-compiler/configuration) - All compiler configuration options including React version compatibility
27-
- [Directives](/reference/react-compiler/directives) - Function-level compilation control
28-
- [Compiling Libraries](/reference/react-compiler/compiling-libraries) - Shipping pre-compiled libraries
26+
- [گزینه‌های پیکربندی](/reference/react-compiler/configuration) - شامل تمام گزینه‌های پیکربندی کامپایلر از جمله سازگاری با نسخه‌های ری‌اکت
27+
- [دستورالعمل‌ها](/reference/react-compiler/directives) - کنترل کامپایل در سطح تابع
28+
- [کامپایل کتابخانه‌ها](/reference/react-compiler/compiling-libraries) - ارسال کتابخانه‌های پیش‌کامپایل‌شده
2929

30-
## Additional resources {/*additional-resources*/}
30+
## منابع اضافی {/*additional-resources*/}
3131

32-
In addition to these docs, we recommend checking the [React Compiler Working Group](https://github.com/reactwg/react-compiler) for additional information and discussion about the compiler.
32+
علاوه بر این مستندات، توصیه می‌کنیم برای اطلاعات و بحث‌های بیشتر دربارهٔ کامپایلر، به [گروه کاری کامپایلر ری‌اکت](https://github.com/reactwg/react-compiler) مراجعه کنید.
3333

0 commit comments

Comments
 (0)