ورود به حساب

نام کاربری گذرواژه

گذرواژه را فراموش کردید؟ کلیک کنید

حساب کاربری ندارید؟ ساخت حساب

ساخت حساب کاربری

نام نام کاربری ایمیل شماره موبایل گذرواژه

برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید


09117307688
09117179751

در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید

دسترسی نامحدود

برای کاربرانی که ثبت نام کرده اند

ضمانت بازگشت وجه

درصورت عدم همخوانی توضیحات با کتاب

پشتیبانی

از ساعت 7 صبح تا 10 شب

دانلود کتاب Designing React Hooks the Right Way: Explore design techniques and solutions to debunk the myths about adopting states using React Hooks

دانلود کتاب طراحی React Hooks به روش صحیح: تکنیک‌ها و راه‌حل‌های طراحی را برای از بین بردن افسانه‌های اتخاذ حالت‌ها با استفاده از React Hooks کاوش کنید.

Designing React Hooks the Right Way: Explore design techniques and solutions to debunk the myths about adopting states using React Hooks

مشخصات کتاب

Designing React Hooks the Right Way: Explore design techniques and solutions to debunk the myths about adopting states using React Hooks

ویرایش:  
نویسندگان:   
سری:  
ISBN (شابک) : 1803235950, 9781803235950 
ناشر: Packt Publishing 
سال نشر: 2022 
تعداد صفحات: 278 
زبان: English 
فرمت فایل : EPUB (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود) 
حجم فایل: 4 Mb 

قیمت کتاب (تومان) : 55,000



ثبت امتیاز به این کتاب

میانگین امتیاز به این کتاب :
       تعداد امتیاز دهندگان : 2


در صورت تبدیل فایل کتاب Designing React Hooks the Right Way: Explore design techniques and solutions to debunk the myths about adopting states using React Hooks به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.

توجه داشته باشید کتاب طراحی React Hooks به روش صحیح: تکنیک‌ها و راه‌حل‌های طراحی را برای از بین بردن افسانه‌های اتخاذ حالت‌ها با استفاده از React Hooks کاوش کنید. نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.


توضیحاتی در مورد کتاب طراحی React Hooks به روش صحیح: تکنیک‌ها و راه‌حل‌های طراحی را برای از بین بردن افسانه‌های اتخاذ حالت‌ها با استفاده از React Hooks کاوش کنید.



با React Hooks کنار بیایید و Hook سفارشی خود را برای مدیریت وضعیت های برنامه برای تصمیم گیری بهتر در معماری سایت طراحی کنید

ویژگی های کلیدی

< ul>
  • با طراحی Hooks کنار بیایید و با مثال‌هایی مشکلات هوک داخلی را درک کنید
  • دریابید که چگونه کد موجود خود را به یک هوک قابل استفاده مجدد از طریق بازآفرینی کد تبدیل کنید
  • کاوش راه حل های طراحی برای شناسایی و حل مسائل مربوط به عملکرد سایت مربوط به Hooks
  • توضیحات کتاب

    React hook یک راه حل منحصر به فرد برای استفاده از حالت ها در اجزای تابع برای هماهنگ کردن ارتباطات UI ایجاد می کند. آنها یک رابط کاربری آسان برای نوشتن راه حل های مدیریت داده های سفارشی با هزینه های توسعه و نگهداری کم در اختیار شما قرار می دهند. درک نحوه طراحی قلاب‌ها به شما امکان می‌دهد از آنها به طور مؤثرتری استفاده کنید، و این کتاب به شما در انجام این کار کمک می‌کند.

    این کتاب با یک راه‌حل سفارشی شروع می‌شود تا نشان دهد چرا در وهله اول به قلاب‌ها نیاز است. با موتور React آشنا خواهید شد و خواهید فهمید که چگونه هر هوک داخلی می تواند یک مقدار ثابت را با اتصال به آن مدیریت کند. شما طراحی و پیاده سازی هر هوک را با کد دنبال خواهید کرد تا درک کاملی به دست آورید. در نهایت، شما با مشکلات هر هوک برخورد خواهید کرد و خواهید فهمید که چگونه می توانید به طور موثر بر آنها غلبه کنید.

    در پایان این کتاب React، اعتماد به نفس ایجاد و نوشتن Hooks برای توسعه را به دست خواهید آورد. برنامه های کاربردی وب کارآمد در مقیاس.

    آنچه یاد خواهید گرفت

    • قلاب های خود را متناسب با نیاز مدیریت ایالت خود ایجاد کنید
    • پنجره فعلی را شناسایی کنید اندازه وب سایت خود با استفاده از useEffect
    • عملکردی را برای بهبود عملکرد رابط کاربری (UI) با استفاده از useMemo انجام دهید
    • یک پیکربندی جهانی سایت با استفاده از useContext ایجاد کنید
    • اجتناب از سخت برای یافتن نشت حافظه برنامه با استفاده از useRef
    • یک لایه داده API ساده و موثر با استفاده از Hooks سفارشی طراحی کنید

    این کتاب برای چه کسی است

    این کتاب برای توسعه دهندگان وب است که به دنبال یک رویکرد سازگار و کارآمد برای اعمال حالت های برنامه با Hooks هستند. دانش اولیه React به شما کمک می کند تا از این کتاب بیشترین بهره را ببرید.

    فهرست محتوا

    1. معرفی مولفه عملکرد
    2. Crafting State در توابع
    3. Hooking into React
    4. استفاده از State برای Jumpstart Components
    5. استفاده از Effect برای مدیریت عوارض جانبی
    6. استفاده از یادداشت برای افزایش عملکرد
    7. li>
    8. استفاده از Context برای پوشاندن یک منطقه
    9. استفاده از Ref برای مخفی کردن مطالب
    10. استفاده از Hook سفارشی برای استفاده مجدد از منطق
    11. ساخت وب سایت با React
    12. li>

    توضیحاتی درمورد کتاب به خارجی

    Get to grips with React Hooks and design your own custom Hook to manage application states for making better decisions in site architecture

    Key Features

    • Get to grips with Hooks' design and understand each built-in Hook's pitfalls with examples
    • Discover how to turn your existing code into a reusable Hook via code refactoring
    • Explore design solutions to identify and solve site performance issues involving Hooks

    Book Description

    React hook creates a unique solution for using states in function components to orchestrate UI communication. They provide you with an easy interface to write custom data management solutions with low development and maintenance costs. Understanding how Hooks are designed enables you to use them more effectively, and this book helps you to do just that.

    This book starts with a custom-crafted solution to reveal why Hooks are needed in the first place. You will learn about the React engine and discover how each built-in Hook can manage a persistent value by hooking into it. You will walk through the design and implementation of each hook with code so that you gain a solid understanding. Finally, you'll get to grips with each Hook's pitfalls and find out how to effectively overcome them.

    By the end of this React book, you'll have gained the confidence to build and write Hooks for developing functional and efficient web applications at scale.

    What you will learn

    • Create your own hooks to suit your state management requirement
    • Detect the current window size of your website using useEffect
    • Debounce an action to improve user interface (UI) performance using useMemo
    • Establish a global site configuration using useContext
    • Avoid hard-to-find application memory leaks using useRef
    • Design a simple and effective API data layer using custom Hooks

    Who this book is for

    This book is for web developers who are looking for a consistent and efficient approach for applying application states with Hooks. Basic knowledge of React will help you to get the most out of this book.

    Table of Contents

    1. Introducing the Function Component
    2. Crafting States in Functions
    3. Hooking into React
    4. Use State to Jumpstart Components
    5. Use Effect to Handle Side Effects
    6. Use Memo to Boost Performance
    7. Use Context to Cover an Area
    8. Use Ref to Hide Stuff
    9. Use Custom Hook to Reuse Logic
    10. Building a Website with React


    فهرست مطالب

    Cover
    Title page
    Copyright and Credits
    Dedication
    Foreword
    Contributors
    Table of Contents
    Preface
    Chapter 1: Introducing the Function Component
    	History of UI components
    		jQuery
    		AngularJS
    		React
    		LitElement
    	Building an app with components
    		Multiple pages
    	Introducing the function component
    		Function props
    		Children prop
    		Parent and child
    	Writing a function component
    	Example of a function component
    	Summary
    	Questions and answers
    	Appendix
    		Appendix A – How many component types does React support?
    Chapter 2: Crafting States in Functions
    	Technical requirements
    	Crafting a state in a function component
    		Requesting a new update
    		Making a value persistent
    		Support multiple states
    		Listen to a value change
    		Performing a task at the mount
    	Applying states to single-page application
    	How states work with UI
    	Summary
    	Questions and answers
    Chapter 3: Hooking into React
    	Creating a good state solution
    	Introducing a React Hook
    		Updating a function component
    		Creating a Hook at the mount
    		Obtaining a Hook at the update
    		Using a Hook
    	What is a Hook?
    		A hook is a function
    		A hook\'s calling order
    		Conditional hook issue
    		Avoiding conditional hooks
    	Summary
    	Questions and answers
    	Appendix
    		Appendix A – React Fiber
    		Appendix B – Current and WorkInProgress Scenes
    Chapter 4: Use State to Jumpstart Components
    	State in React
    	useState design
    		useState data structure
    		Mounting a state
    		Dispatching an action
    		Updating a state
    		Returning the hook
    		A walkthrough of useState
    	Dispatching states
    		Comparing states
    		Multiple dispatches
    	Test driving the useState hook
    		Letting a child drive
    		Lifting up to the parent
    	useState examples
    		Making an avatar component
    		Making a custom tooltip component
    	Summary
    	Questions and answers
    	Appendix
    		Appendix A – Skipping the dispatch
    		Appendix B – Bailing out an update
    Chapter 5: Use Effect to Handle Side Effects
    	What is a side effect?
    		Introducing passive effects
    	Understanding useEffect design
    		The useEffect hook\'s data structure
    		Mounting an effect
    		Updating an effect
    		Scheduling effects
    		Flushing effects
    		A walk-through of the useEffect hook
    	Creating effects
    		Creating and destroying
    	Test driving the useEffect hook
    		Missing dependencies
    		Infinite loops
    	useEffect examples
    		Finding the window size
    		Fetching an API resource
    	Summary
    	Questions and answers
    	Appendix
    		Appendix A – React side effects
    		Appendix B - Flushing passive effects
    		Appendix C – Is a dispatch asynchronous?
    Chapter 6: Use Memo to Boost Performance
    	Performance degradation
    		Reusing a previous assignment
    	Understanding the useMemo design
    	Reusing a last assignment
    		Assignment value type
    		The myth of skipping an update
    	Test-Driving useMemo
    	useMemo examples
    		Clicking to search
    		Debouncing the search
    	Summary
    	Questions
    	Appendix
    		Appendix A – Not a Classical Memorization
    		Appendix B – Skipping a Child Update
    Chapter 7: Use Context to Cover an Area
    	What is an area update?
    		Props approach
    		Combined dispatch approach
    	Introducing the React context
    	Understanding the useContext design
    		useContext data structure
    		useContext workflow
    	Test driving useContext
    		Changing the context value
    	useContext examples
    		Theme context
    		Table context
    	Summary
    	Questions and answers
    	Appendix
    		Appendix A – Propagating a context
    		Appendix B – Context scope and value
    Chapter 8: Use Ref to Hide Stuff
    	Accessing DOM elements
    		Attach and de-attach
    	Understanding useRef design
    	State without an update
    	Test driving useRef
    		Controlling a child ref
    	useRef examples
    		Clicking outside the menu
    		Avoiding memory leaks
    		Setting up a mule
    		Locating the current value
    	Summary
    	Questions and answers
    	Appendix
    		Appendix A – Callback ref
    		Appendix B – Forward ref
    Chapter 9: Use Custom Hooks to Reuse Logic
    	Reviewing React hooks
    		Making a new hook
    		Writing a custom hook
    	useToggle
    		Usages
    		References
    	useWindow
    		Usages
    		References
    	useAsync
    		Usages
    		References
    	useDebounced
    		Usages
    	useClickOutside
    		Usages
    		References
    	useCurrent
    		Usages
    		References
    	useProxy
    		Usages
    		References
    	Summary
    	Questions and answers
    Chapter 10: Building a Website with React
    	Exploring functions of React
    	Embracing JavaScript ES6
    		Arrow function
    		Spread and rest
    		Object enhancement
    		Template strings
    		Destructuring
    		let and const
    		Modules
    		Symbol
    	Adopting CSS-in-JS approach
    		styled-SX
    		styled-components
    	Going from HTML to JSX
    		Props
    		Children
    		Element type
    		React element
    	Summary
    	Questions and answers
    Index
    About Packt
    Other Books You May Enjoy




    نظرات کاربران