[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-703140-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-703140-en":130,"doc-similar-703140":288},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","learning-react-second-edition","Learning React - Second Edition","","Learning React, Second Edition teaches building web applications with React by combining immediately usable, fully annotated sample code with practical learning exercises. The book follows a hands-on approach that moves from introducing React concepts to creating real components, styling, handling state, and turning data into user interfaces. It also covers events, component lifecycle, accessing DOM elements, setting up the development environment, working with external data, and building example apps, including a single-page app with React Router and an introduction to Redux.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/learning-react-second-edition/703140/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/learning-react-second-edition/703140.png","ImageObject",300,407,{"name":42,"@type":43},"Kurz","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-17","2026-11-13",true,{"@type":52,"interactionType":53,"userInteractionCount":26},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What learning approach does Learning React, Second Edition use?","Question",{"text":62,"@type":63},"It uses a hands-on approach with fully annotated sample code and exercises at the end of many chapters to reinforce concepts and encourage tweaking the code.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What topics does the book cover besides basic React?",{"text":67,"@type":63},"It covers components, JSX, styling, complex components, props transfer, state, UI rendering from data, events, the component lifecycle, and accessing DOM elements.",{"name":69,"@type":60,"acceptedAnswer":70},"Does the book include guidance for working with real data and building apps?",{"text":71,"@type":63},"Yes. It describes setting up the React development environment, working with external data, and building example applications such as a todo list app and a sliding menu, plus a single-page app using React Router.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},703140,1794561432,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":26,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":144,"preview_page_count":145,"preview_urls":146},2336478945635,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Learning React  \nSecond Edition  \nThe Pearson Addison-Wesley Learning Series  \nVisit [informit.com/learningseries](informit.com/learningseries) for a complete list of available publications.  \nThe Pearson Addison-Wesley Learning Series is a collection of handson programming guides that help you quickly learn a new technology or language so you can apply what you’ve learned right away.  \nEach title comes with sample code for the application or applications built in the text. This code is fully annotated and can be reused in your own projects with no strings attached. Many chapters end with a series of exercises to encourage you to reexamine what you have just learned, and to tweak or adjust the code as a way of learning.  \nTitles in this series take a simple approach: they get you going right away and leave you with the ability to walk off and build your own application and apply the language or technology to whatever you are working on.  \nMake sure to connect with us! [informit. com/socialconnect](informit. com/socialconnect)  \nLearning React  \nSecond Edition  \nKirupa Chinnathambi  \nLearning React, Second Edition  \nCopyright © 2018 by Pearson Education, Inc.  \nAll rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Nor is any liability assumed for damages resulting from the use of the information contained herein.  \nISBN-13: 978-0-13-484355-1  \nISBN-10: 0-13-484355-X  \nLibrary of Congress Control Number: 2017957370  \n1 18  \nTrademarks  \nAll terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Pearson cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark.  \nWarning and Disclaimer  \nEvery effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an “as is” basis. The author and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book.  \nSpecial Sales  \nFor information about buying this title in bulk quantities, or for special sales opportunities (which may include electronic versions; custom cover designs; and content particular to your business, training goals, marketing focus, or branding interests), please contact our corporate sales department at [corpsales@pearsoned.com](corpsales@pearsoned.com) or (800) 382-3419.  \nFor government sales inquiries, please [contact governmentsales@pearsoned.com](contact governmentsales@pearsoned.com).  \nFor questions about sales outside the U.S. , please contact [intlcs@pearson.com](intlcs@pearson.com).  \nEditor  \nMark Taber  \nManaging Editor  \nSandra Schroeder  \nProject Editor  \nMandie Frank  \nCopy Editor  \nKrista Hansing  \nIndexer  \nErika Millen  \nProofreader  \nJeanine Furino  \nTechnical Editor  \nTrevor McCauley  \nEditorial Assistant Vanessa Evans  \nDesigner  \nChuti Prasertsith  \nCompositor  \ncodemantra  \nAccessing the Free Web Edition  \nYour purchase of this book in any format includes access to the corresponding Web Edition, which provides several special online-only features:  \n■ The complete text of the book  \n■ Updates and corrections as they become available  \nThe Web Edition can be viewed on all types of computers and mobile devices with any modern web browser that supports HTML5 .  \nTo get access to the Learning React Web Edition, all you need to do is register this book:  \n[1. Go to www.informit.com/reg","cbCaisxlYLzZDGPN","https://ap.wps.com/l/cbCaisxlYLzZDGPN","pdf",4986659,304,"English","# Contents at a Glance\n## Introducing React\n## Building Your First React App\n## Components in React\n## Styling in React\n## Creating Complex Components\n## Transferring Properties\n## Meet JSX…Again!\n## Dealing with State in React\n## Going from Data to UI in React\n## Events in React\n## The Component Lifecycle\n## Accessing DOM Elements in React\n## Setting Up Your React Dev Environment Easily\n## Working with External Data in React\n## Building an Awesome Todo List App in React\n## Creating a Sliding Menu in React\n## Avoiding Unnecessary Renders in React\n## Creating a Single-Page App in React Using React Router\n## Introduction to Redux\n## Using Redux with React","[{\"question\":\"What learning approach does Learning React, Second Edition use?\",\"answer\":\"It uses a hands-on approach with fully annotated sample code and exercises at the end of many chapters to reinforce concepts and encourage tweaking the code.\"},{\"question\":\"What topics does the book cover besides basic React?\",\"answer\":\"It covers components, JSX, styling, complex components, props transfer, state, UI rendering from data, events, the component lifecycle, and accessing DOM elements.\"},{\"question\":\"Does the book include guidance for working with real data and building apps?\",\"answer\":\"Yes. It describes setting up the React development environment, working with external data, and building example applications such as a todo list app and a sliding menu, plus a single-page app using React Router.\"}]","Learning React - Second Edition | PDF",766,31,[147,151,155,159,163,167,171,175,179,183,187,192,197,202,207,212,217,222,227,231,235,240,245,250,255,260,265,270,275,280,284],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/c58304437e11c67aba4bfb3bc9ba9904.webp",983,1263,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/4c921ef65e489e93ef7647c6dd39b91a.webp",982,1262,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/25cc5e072ea02d071bef1afb3427f7b6.webp",981,1261,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/e89a8cb96c9bcffcdaaede120a90e937.webp",980,1259,{"page_no":96,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/be109b354ddfdd306037e0a6efdaee7b.webp",979,1258,{"page_no":101,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/0a5a6064dcb5c7bfe52f851953c2df81.webp",978,1257,{"page_no":105,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/d20713a0269283ace09367a2a405c986.webp",977,1256,{"page_no":110,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/0f1984f7f32e45d9ef0c4a1c129d3eef.webp",976,1254,{"page_no":115,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/a8c6bb8092f6bad720f23061b91c3e1f.webp",975,1253,{"page_no":123,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/c834906f09ec4117caa1db6bc71bb5dc.webp",974,1252,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/b00acfa0b3f08a8ac1ebfb7aa8333451.webp",973,1250,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/50525a24b2c2a307f6eb9c8bdea93522.webp",972,1249,{"page_no":198,"url":199,"width":200,"height":201},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/04c9cdf7c298cee1b0822851d0d338e6.webp",971,1248,{"page_no":203,"url":204,"width":205,"height":206},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/49c61fd5b50117a97e88ed94801b7564.webp",970,1247,{"page_no":208,"url":209,"width":210,"height":211},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/f54effa1184ab2f30d85c2c78ea0a4bb.webp",969,1245,{"page_no":213,"url":214,"width":215,"height":216},16,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/dd2081fd3c0d14b9d6ddd8e2a2916d71.webp",968,1244,{"page_no":218,"url":219,"width":220,"height":221},17,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/eb5b817f9c4763c040145125ff908814.webp",967,1243,{"page_no":223,"url":224,"width":225,"height":226},18,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/832102cb7610e134e6867dbe833ad462.webp",966,1241,{"page_no":127,"url":228,"width":229,"height":230},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/277db4164d9a2946e70c47f0df613316.webp",965,1240,{"page_no":117,"url":232,"width":233,"height":234},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/5588ea7feecb0977be4278162493c288.webp",964,1239,{"page_no":236,"url":237,"width":238,"height":239},21,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/673a1804f8914834ba0b105f3854c3f7.webp",963,1238,{"page_no":241,"url":242,"width":243,"height":244},22,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/1133b2da1324c77d4816ed64964bece4.webp",962,1236,{"page_no":246,"url":247,"width":248,"height":249},23,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/67dfb745ae16c691bc8861801dad41b0.webp",961,1235,{"page_no":251,"url":252,"width":253,"height":254},24,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/10ade90117fb87197505fbac1b8e37bb.webp",960,1234,{"page_no":256,"url":257,"width":258,"height":259},25,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/7eda5ac656c29c3c5cd585834696b8b9.webp",959,1232,{"page_no":261,"url":262,"width":263,"height":264},26,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/b5e934a172554746ac9e17fb99577007.webp",958,1231,{"page_no":266,"url":267,"width":268,"height":269},27,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/d4853e63cdb5ba58c7f8da0f6110309c.webp",957,1230,{"page_no":271,"url":272,"width":273,"height":274},28,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/956b23d55c61026aff36632cfcfb7c3a.webp",956,1229,{"page_no":276,"url":277,"width":278,"height":279},29,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/f9ebfdf4d06642f5330478e47692a9f2.webp",955,1227,{"page_no":112,"url":281,"width":282,"height":283},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/93cb6ad92baa3773d3f68bd4aaeadc8d.webp",954,1226,{"page_no":145,"url":285,"width":286,"height":287},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/56fd9193b3f7d73f7686b1e66fa9f846.webp",953,1225,{"list":289,"token":11},[290,296,302,308,314,320,326,332,338,344],{"doc_id":291,"doc_title":292,"file_type":137,"home_preview_img_url":293,"slug":294,"view_count":30,"category_name":29,"create_tm":295},692283,"Learning React - Second Edition - A Hands-On Guide to Building Web Applications Using React and Redux","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003186963/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=W0nsPbF9ZJwb451VGHGDl4OPRbc%3D","learning-react-second-edition-a-hands-on-guide-to-building-web-applications-using-react-and-redux",1794192412,{"doc_id":297,"doc_title":298,"file_type":137,"home_preview_img_url":299,"slug":300,"view_count":30,"category_name":29,"create_tm":301},692286,"Learning React - Functional Web Development with React and Redux","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002730621/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=m5DlFLvr7OsklpM2%2FTWJM%2BK7YQ0%3D","learning-react-functional-web-development-with-react-and-redux",1794192416,{"doc_id":303,"doc_title":304,"file_type":137,"home_preview_img_url":305,"slug":306,"view_count":213,"category_name":29,"create_tm":307},489290,"React JS Full Course E-book Content - Introduction to React - Course Outline","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927222694/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=0xlee5GNMggieh851zFuVDFvGeM%3D","react-js-full-course-e-book-content-introduction-to-react-course-outline",1790822011,{"doc_id":309,"doc_title":310,"file_type":137,"home_preview_img_url":311,"slug":312,"view_count":198,"category_name":29,"create_tm":313},489294,"Getting Started with React - React Fundamentals and Setup Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926988797/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=dWntPMh%2B1yIrXwu65MbcfZl0R5k%3D","getting-started-with-react-react-fundamentals-and-setup-guide",1790822021,{"doc_id":315,"doc_title":316,"file_type":137,"home_preview_img_url":317,"slug":318,"view_count":188,"category_name":29,"create_tm":319},489296,"SSUI-11-12-React - React for JavaScript","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926988879/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=RzaY2JxDosHkvyITWYDvFM281Cg%3D","ssui-11-12-react-react-for-javascript",1790822029,{"doc_id":321,"doc_title":322,"file_type":137,"home_preview_img_url":323,"slug":324,"view_count":276,"category_name":29,"create_tm":325},391832,"React Native for Mobile Development - Second Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917408000/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=enkpLE57XwxBBiyrDkSZpPeKu4c%3D","react-native-for-mobile-development-second-edition",1790359233,{"doc_id":327,"doc_title":328,"file_type":137,"home_preview_img_url":329,"slug":330,"view_count":193,"category_name":29,"create_tm":331},391757,"108 React Interview Questions to Hire Top Developers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917705460/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=wx%2FgXiD7Q1qWhHfv9Lx4683qwWw%3D","108-react-interview-questions-to-hire-top-developers",1790358526,{"doc_id":333,"doc_title":334,"file_type":137,"home_preview_img_url":335,"slug":336,"view_count":30,"category_name":29,"create_tm":337},703141,"React JS Notes for Professionals - Free Programming Hints and Tricks","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013414035/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=3ImgwIoBgJFs2ZLe718sxrMtbNM%3D","react-js-notes-for-professionals-free-programming-hints-and-tricks",1794561475,{"doc_id":339,"doc_title":340,"file_type":137,"home_preview_img_url":341,"slug":342,"view_count":30,"category_name":29,"create_tm":343},692285,"React Fundamentals - A Beginner’s Guide to JavaScript, TypeScript, HTML, and CSS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003187007/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=qWZITMfbTHdULHJduCZtx34tMi0%3D","react-fundamentals-a-beginners-guide-to-javascript-typescript-html-and-css",1794192415,{"doc_id":345,"doc_title":346,"file_type":137,"home_preview_img_url":347,"slug":348,"view_count":30,"category_name":29,"create_tm":337},703142,"Fullstack React Native - The Complete Guide to React Native - book","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013414142/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=ZtlRa5c5glpUH3H6L%2B78qFm0aD4%3D","fullstack-react-native-the-complete-guide-to-react-native-book"]