کتاب Beginning React JS Foundations (شروع مبانی ری اکت جی اس)، خوانندگان را با مفاهیم اساسی برنامه نویسی با ابزار بسیار محبوب front-end، معروف به React JS آشنا میکند. کتاب Beginning ReactJS Foundations که توسط یک مهندس فول استک آموزش دیده، سخنگو و سازماندهنده جامعه نوشته شده است به خوانندگان میآموزد که چگونه React را درک کنند و نوشتن برنامههای کاربردی با آن را شروع کنند.
کتاب Beginning ReactJS Foundations، ایده آل برای برنامه نویسان مبتدی، متوسط و پیشرفته است که به سرعت شما را با یکی از مفیدترین و پرکاربردترین زبانهای فرانت اند امروزی در وب آشنا میکند. شما با کمک این کتاب میتوانید از امروز شروع به ساخت اولین برنامه خود کنید.
ویژگیهای کتاب Beginning ReactJS Foundations: Building User Interfaces with ReactJS (شروع مبانی ری اکت جی اس: ساخت رابط کاربری با ری اکت جی اس):
- اصطلاحات فنی را با مثالهای مرتبط و مدرن توضیح میدهد تا به افراد تازهکار در برنامهنویسی کمک کند تا زبان را درک کنند.
- به برنامه نویسان باتجربه کمک میکند تا به سرعت با React شروع به کار کنند.
- کاملا با مثالهای عملی و روزمره کار با ری اکت پر شده است.
Table of Contents:
- 1 Hello, World!
- REACT WITHOUT A BUILD TOOLCHAIN
- INTERACTIVE “HELLO, WORLD” WITH CREATE REACT APP AND JSX
- SUMMARY
- 2 The Foundation of React
- WHAT'S IN A NAME?
- UI LAYER
- VIRTUAL DOM
- THE PHILOSOPHY OF REACT
- SUMMARY
- 3 JSX
- JSX IS NOT HTML
- WHAT IS JSX?
- SYNTAX BASICS OF JSX
- SUMMARY
- 4 All About Components
- WHAT IS A COMPONENT?
- COMPONENTS VS. ELEMENTS
- BUILT-IN COMPONENTS
- USER-DEFINED COMPONENTS
- TYPES OF COMPONENTS
- REACT COMPONENT CHILDREN
- THE COMPONENT LIFECYCLE
- RENDERING COMPONENTS
- COMPONENT TERMINOLOGY
- SUMMARY
- 5 React DevTools
- INSTALLATION AND GETTING STARTED
- INSPECTING COMPONENTS
- EDITING COMPONENT DATA IN DEVTOOLS
- WORKING WITH ADDITIONAL DEVTOOLS FUNCTIONALITY
- PROFILING
- SUMMARY
- 6 React Data Flow
- ONE-WAY DATA FLOW
- PROPS
- REACT STATE
- CONVERTING TO CLASS COMPONENTS
- SUMMARY
- 7 Events
- HOW EVENTS WORK IN REACT
- WHAT IS SYNTHETICEVENT?
- USING EVENT LISTENER ATTRIBUTES
- THE EVENT OBJECT
- SUPPORTED EVENTS
- EVENT HANDLER FUNCTIONS
- SUMMARY
- 8 Forms
- FORMS HAVE STATE
- CONTROLLED INPUTS VS. UNCONTROLLED INPUTS
- LIFTING UP INPUT STATE
- USING UNCONTROLLED INPUTS
- USING DIFFERENT FORM ELEMENTS
- PREVENTING DEFAULT ACTIONS
- SUMMARY
- 9 Refs
- WHAT REFS ARE
- HOW TO CREATE A REF IN A CLASS COMPONENT
- HOW TO CREATE A REF IN A FUNCTION COMPONENT
- USING REFS
- CREATING A CALLBACK REF
- WHEN TO USE REFS
- WHEN NOT TO USE REFS
- EXAMPLES
- SUMMARY
- 10 Styling React
- THE IMPORTANCE OF STYLES
- IMPORTING CSS INTO THE HTML FILE
- USING PLAIN OLD CSS IN COMPONENTS
- WRITING INLINE STYLES
- CSS MODULES
- CSS-IN-JS AND STYLED COMPONENTS
- SUMMARY
- 11 Introducing Hooks
- WHAT ARE HOOKS?
- WHY WERE HOOKS INTRODUCED?
- RULES OF HOOKS
- THE BUILT-IN HOOKS
- WRITING CUSTOM HOOKS
- LABELING CUSTOM HOOKS WITH USEDEBUGVALUE
- FINDING AND USING CUSTOM HOOKS
- SUMMARY
- 12 Routing
- WHAT IS ROUTING?
- HOW ROUTING WORKS IN REACT
- USING REACT ROUTER
- REACT ROUTER HOOKS
- SUMMARY
- 13 Error Boundaries
- THE BEST LAID PLANS
- WHAT IS AN ERROR BOUNDARY?
- IMPLEMENTING AN ERROR BOUNDARY
- WHAT CAN'T AN ERROR BOUNDARY CATCH?
- SUMMARY
- 14 Deploying React
- WHAT IS DEPLOYMENT?
- BUILDING AN APP
- HOW IS A DEPLOYED APP DIFFERENT?
- DEVELOPMENT MODE VS. PRODUCTION
- PUTTING IT ON THE WEB
- SUMMARY
- 15 Initialize a React Project from Scratch
- BUILDING YOUR OWN TOOLCHAIN
- HOW WEBPACK WORKS
- AUTOMATING YOUR BUILD PROCESS
- STRUCTURING YOUR SOURCE DIRECTORY
- SUMMARY
- 16 Fetching and Caching Data
- ASYNCHRONOUS CODE: IT'S ALL ABOUT TIMING
- JAVASCRIPT NEVER SLEEPS
- WHERE TO RUN ASYNC CODE IN REACT
- WAYS TO FETCH
- GETTING DATA WITH FETCH
- GETTING DATA WITH AXIOS
- USING WEB STORAGE
- SUMMARY
- 17 Context API
- WHAT IS PROP DRILLING?
- HOW CONTEXT API SOLVES THE PROBLEM
- COMMON USE CASES FOR CONTEXT
- WHEN NOT TO USE CONTEXT
- COMPOSITION AS AN ALTERNATIVE TO CONTEXT
- EXAMPLE APP: USER PREFERENCES
- SUMMARY
- 18 React Portals
- WHAT IS A PORTAL?
- COMMON USE CASES
- SUMMARY
- 19 Accessibility in React
- WHY IS ACCESSIBILITY IMPORTANT?
- ACCESSIBILITY BASICS
- IMPLEMENTING ACCESSIBILITY IN REACT COMPONENTS
- SUMMARY
- 20 Going Further
- TESTING
- SERVER-SIDE RENDERING
- PEOPLE TO FOLLOW
- USEFUL LINKS AND RESOURCES
- SUMMARY