Modern Patterns for Developing React AppsAlex Banks, Eve Porcello

#React
#Patterns
#software_engineers
#JavaScript
#CSS
#HTML
#data-driven
🚀 اگر میخوای یاد بگیری چطور اپلیکیشنهای React بهینه و حرفهای بسازی، این کتاب دقیقاً برای توئه. این کتاب برای توسعهدهندههای وب و مهندسهای نرمافزاری طراحی شده که درک خوبی از JavaScript، CSS و HTML داخل مرورگر دارن. نسخه بهروزشدهی این کتاب، مجموعهای از Best Practiceها و الگوهای مدرن برای نوشتن کد React رو در اختیارت قرار میده. برای خوندن این کتاب نیازی نیست از قبل React یا Functional JavaScript بلد باشی.
📚 نویسندهها، الکس بنکس و ایو پورچلو، با یک مسیر یادگیری مرحلهبهمرحله نشون میدن چطور رابطهای کاربریای بسازی که بدون نیاز به Reload شدن صفحه، تغییرات رو خیلی روان و سریع نمایش بدن؛ مخصوصاً در وبسایتهای بزرگ و Data-Driven. همچنین یاد میگیری چطور از Functional Programming و جدیدترین قابلیتهای ECMAScript استفاده کنی. وقتی ساخت کامپوننتهای React رو با این راهنمای عملی یاد بگیری، کاملاً متوجه میشی React چقدر میتونه داخل پروژهها و سازمانت مفید باشه.
⚙️ با مفاهیم کلیدی Functional Programming در JavaScript آشنا میشی.
🧠 پشتصحنهی اجرای React داخل مرورگر رو بررسی میکنی تا دقیقتر بفهمی چطور کار میکنه.
🧩 لایههای نمایشی اپلیکیشن رو با استفاده از کامپوننتهای React پیادهسازی میکنی.
🐞 مدیریت دادهها رو یاد میگیری و زمانی که برای Debug کردن اپلیکیشن صرف میکنی کمتر میشه.
🪝 یاد میگیری چطور از React Hooks برای مدیریت State و دریافت داده استفاده کنی.
🛣️ برای قابلیتهای Single-Page Application از راهکارهای Routing استفاده میکنی.
🖥️ ساختاردهی اپلیکیشنهای React رو با در نظر گرفتن معماری سمت سرور یاد میگیری.
📑 فهرست مطالب
فصل ۱: خوش اومدی به React
فصل ۲: JavaScript برای React
فصل ۳: برنامهنویسی تابعی با JavaScript
فصل ۴: React چطور کار میکنه
فصل ۵: React همراه با JSX
فصل ۶: مدیریت State در React
فصل ۷: ارتقای کامپوننتها با Hooks
فصل ۸: کار با دادهها
فصل ۹: Suspense
فصل ۱۰: تست در React
فصل ۱۱: React Router
فصل ۱۲: React و سرور
📝 از مقدمه کتاب
🚀 این کتاب برای توسعهدهندههاییه که میخوان همزمان با یادگیری کتابخانهی React، جدیدترین تکنیکهایی که الان توی اکوسیستم JavaScript در حال شکلگیری هستن رو هم یاد بگیرن. الان واقعاً دورهی هیجانانگیزی برای توسعهدهندههای JavaScript محسوب میشه. اکوسیستم این زبان پر شده از ابزارها، سینتکسها و Best Practiceهای جدیدی که سعی میکنن خیلی از مشکلات رایج توسعه نرمافزار رو حل کنن. هدف ما از این کتاب اینه که این تکنیکها رو بهشکل منظم کنار هم قرار بدیم تا بتونی خیلی سریع وارد دنیای React بشی و کار واقعی انجام بدی. داخل کتاب دربارهی State Management، React Router، تست و Server Rendering صحبت میکنیم؛ پس قرار نیست فقط مفاهیم پایه رو بگیم و بعد ادامهی مسیر رو خودت حدس بزنی.
⚛️ این کتاب هیچ پیشنیازی از React فرض نمیکنه. تمام مفاهیم پایهی React از صفر معرفی میشن. همین موضوع برای سینتکسهای جدید JavaScript هم صدق میکنه. این مباحث در فصل دوم معرفی میشن تا پایهای برای فصلهای بعدی باشن.
💡 اگر با HTML، CSS و JavaScript راحت باشی، خیلی بهتر میتونی از محتوای کتاب استفاده کنی. تقریباً همیشه بهتره قبل از ورود به یک کتابخانهی JavaScript، روی این سه مهارت اصلی تسلط داشته باشی.
🔗 در طول مسیر، حتماً مخزن GitHub کتاب رو هم بررسی کن. تمام مثالها اونجا قرار دارن و میتونی بهصورت عملی تمرینشون کنی.
👨💻 درباره نویسندهها
🌍 الکس بنکس و ایو پورچلو مهندس نرمافزار، نویسنده و مدرس هستن. اونها از طریق شرکت خودشون یعنی مون هایوی، دورههای JavaScript، Node، React و GraphQL رو برای مهندسهای نرمافزار در سراسر دنیا برگزار کردن. همچنین برای پلتفرمهایی مثل اورایلی، LinkedIn Learning و egghead.io ویدیوهای آموزشی و محتوای تخصصی تولید کردن.
If you want to learn how to build efficient React applications, this is your book. Ideal for web developers and software engineers who understand how JavaScript, CSS, and HTML work in the browser, this updated edition provides best practices and patterns for writing modern React code. No prior knowledge of React or functional JavaScript is necessary.
With their learning road map, authors Alex Banks and Eve Porcello show you how to create UIs that can deftly display changes without page reloads on large-scale, data-driven websites. You’ll also discover how to work with functional programming and the latest ECMAScript features. Once you learn how to build React components with this hands-on guide, you’ll understand just how useful React can be in your organization.
Understand key functional programming concepts with JavaScriptLook under the hood to learn how React runs in the browserCreate application presentation layers with React componentsManage data and reduce the time you spend debugging applicationsIncorporate React Hooks to manage state and fetch dataUse a routing solution for single-page application featuresLearn how to structure React applications with servers in mind.
Table of Contents
Chapter 1. Welcome to React
Chapter 2. JavaScript for React
Chapter 3. Functional Programming with JavaScript
Chapter 4. How React Works
Chapter 5. React with JSX
Chapter 6. React State Management
Chapter 7. Enhancing Components with Hooks
Chapter 8. Incorporating Data
Chapter 9. Suspense
Chapter 10. React Testing
Chapter 11. React Router
Chapter 12. React and the Server
This book is for developers who want to learn the React library while learning the latest techniques currently emerging in the JavaScript language. This is an exciting time to be a JavaScript developer. The ecosystem is exploding with new tools, syntax, and best practices that promise to solve many of our development problems. Our aim with this book is to organize these techniques so you can get to work with React right away. We’ll get into state management, React Router, testing, and server rendering, so we promise not to introduce only the basics and then throw you to the wolves.
This book does not assume any knowledge of React at all. We’ll introduce all of React’s basics from scratch. Similarly, we won’t assume that you’ve worked with the latest JavaScript syntax. This will be introduced in Chapter 2 as a foundation for the rest of the chapters.
You’ll be better prepared for the contents of the book if you’re comfortable with HTML, CSS, and JavaScript. It’s almost always best to be comfortable with these big three before diving into a JavaScript library.
Along the way, check out the GitHub repository. All of the examples are there and will allow you to practice hands-on.
About the Author
Alex Banks and Eve Porcello are software engineers, authors, and trainers. With their company Moon Highway, theyâ??ve taught JavaScript, Node, React, and GraphQL courses to engineers all over the world. Theyâ??ve also created videos and authored training content for Oâ??Reilly, LinkedIn Learning, and egghead.io.









