Mastering React : master the art of building modern web applications using React /
Chapter 7: React Blog App Part 2-Users; Code manifest; Application runtime configuration; Mixins and dependencies; Reading and writing cookies; The form utilities mixin; User-related stores; The session context store; The user store; User views; The log in view; The create user view; Mixins and life...
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing,
2016.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; Foreword; About the Authors; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introduction to ReactJs; Hello React; JSX; How it works; Decompiling JSX; Structure of render result; props; How it works; propTypes; getDefaultProps; state; How it works; Summary; Chapter 2: Component Composition and Lifecycle; How to compose simple components; Composing components with behavior; How it works; Accessing a component's children; Component lifecycle
- mounting and unmounting; Component lifecycle
- updating events; How it works; Summary
- Chapter 3: Dynamic Components, Mixins, Forms, and More JSXDynamic components; How it works; Mixins; How it works; Forms; Controlled components
- the read-only input; How it works; Controlled components
- the read and write input; How it works; Isn't that harder than it needs to be?; Controlled components
- a simple form; How it works; But what about the best practices?; Refactoring the form to be data driven; How it works; Validation; Validation types; The react-validation-mixin example; Summary; Chapter 4: Anatomy of a React Application; What is a single-page application?
- Three aspects of a SPA designBuild systems; Choosing a build system; Module systems; CSS preprocessors; Compiling the modern JS syntax and JSX templates; Front-end architecture components; The front-end router; Front-end models; Views, view models, and view controllers; Messaging and eventing; Other utility needs; The application design; Creating wireframes; Main data entities and the API; Main views, site map, and routes; Summary; Chapter 5: Starting a React Application; Application design; Creating wireframes; User-related views; Post-related views; Data entities
- Main views and the sitemapPreparing the development environment; Installing Node and its dependencies; Installing and configuring Webpack; The Webpack configuration; Considerations before starting; React and rendering; Starting the app; The directory structure; The mock database; index.html; js/app.jsx; Main views; Linking views with React Router; Summary; Chapter 6: React Blog App Part 1
- Actions and Common Components; Reflux actions; Reusable components and base styles; Base styles; Inputs and loading indicator; The BasicInput component; The loader component; The application header