Beginning React Simplify Your Frontend Development Workflow and Enhance the User Experience of Your Applications with React

Projects like Angular and React are rapidly changing how development teams build and deploy web applications to production. In this book, you'll learn the basics you need to get up and running with React and tackle real-world projects and challenges. It includes helpful guidance on how to consi...

Celý popis

Uloženo v:
Podrobná bibliografie
Hlavní autor: Chiarelli, Andrea
Médium: E-kniha
Jazyk:angličtina
Vydáno: Birmingham Packt Publishing, Limited 2018
Vydání:1
Témata:
ISBN:1789530520, 9781789530520
On-line přístup:Získat plný text
Tagy: Přidat tag
Žádné tagy, Buďte první, kdo vytvoří štítek k tomuto záznamu!
Obsah:
  • Intro -- Title Page -- Copyright and Credits -- Packt Upsell -- Contributors -- Table of Contents -- Preface -- Introducing React and UI Design -- What is React? -- How to Set up a React-Based Application -- Installing create-react-app -- Creating Your First React Application -- Activity: Creating an Application with create-react-app -- Exploring the Generated Content -- The create-react-app Commands -- The npm start Command -- Changing File Content and Viewing the Result -- Activity: Starting and Changing the Application -- The npm test Command -- The npm run build Command -- The npm run eject Command -- How to Design a UI -- Everything Is a Component -- Decompose a User Interface -- Container and Presentational Components -- Activity: Detecting Components in a Web User Interface -- Summary -- Creating Components -- Definition of a Component -- Building Our First React Component -- Managing Styles -- Adding CSS -- Activity: Defining a Shopping Cart -- Using JSX -- Activity: Translating HTML into JSX -- Composing Components -- Combining Components -- Activity: Defining a Composed Cart -- Data Propagation -- Activity: Creating a Cart Item Component -- Managing the Internal State -- Activity: Adding State Management to the Cart Component -- Summary -- Managing User Interactivity -- Managing User Interaction -- HTML Events versus React Events -- Event Handlers and the this Keyword -- Changing the State -- Activity: Adding Items to the Shopping Cart -- Component Lifecycle Events -- Activity: Showing the Quantity of Items Added to the Cart -- Managing Routing -- Installing React Router -- Using the Router -- Defining Views -- Some Notes About the Route Component -- Nested Views -- Path Parameters -- Activity: Adding a View About Shipping Methods -- Summary -- Other Books You May Enjoy -- Index