Beginning React simplify your frontend development workflow and enhance the user experience of your applications with React

Take your web applications to a whole new level with efficient, component-based UIs that deliver cutting-edge interactivity and performance. Key Features Elaborately explains basics before introducing advanced topics Explains creating and managing the state of components across applications Implemen...

Descripción completa

Detalles Bibliográficos
Otros Autores: Chiarelli, Andrea, author (author)
Formato: Libro electrónico
Idioma:Inglés
Publicado: Birmingham ; Mumbai : Packt Publishing 2018.
Edición:1st edition
Materias:
Ver en Biblioteca Universitat Ramon Llull:https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630696106719
Tabla de Contenidos:
  • 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.