Mastering React Native.
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing,
2016.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; Disclaimer; About the Authors; About the Reviewer; www.PacktPub.com; Customer Feedback; Table of Contents; Preface; Chapter 1: Building a Foundation in React; Library versus framework; Motivation for React; Getting started in React; Describing components in JSX; The component; Component composition; Props and PropTypes; Accepting props; PropTypes; Passing props; Default props; Props.children; Event handlers; State; The component lifecycle; The update cycle; Unmounting the component; Alternate component forms; React.createClass; Functional components; Summary.
- Chapter 2: Saying HelloWorld in React NativeUnderstanding the mobile app development ecosystem; Adobe PhoneGap; Ionic; NativeScript; React Native; Extending React Native; Introducing style and layout in React Native; Understanding all the React Native tools; Xcode; Google Chrome; Homebrew (also known as brew); Node.js and npm; Watchman; Flow; React Native command-line interface (CLI); Installing our tools; Installing Xcode; Installing Homebrew; Installing Node and npm; Installing Watchman and Flow; Installing the React Native CLI; Creating our first React Native app; React Native Packager.
- Understanding our HelloWorld app[Importing dependencies using ECMAScript 2015]; Importing dependencies using ECMAScript 2015; Our HelloWorld component; HelloWorld style code; Registering the root component; Why import React?; Debugging a React Native app; Enabling the Chrome Debugger; Breakpoints; Summary; Chapter 3: Styling and Layout in React Native; Constructing and applying styles; Inline styles; Styles as objects in your React Native components; Stylesheet; Using Stylesheet.hairlineWidth; Applying component-specific style properties; Styling without inheritance.
- Understanding React Native's take on the box model and flexboxBox model; Understanding Flexbox; Covering the other axis; Flex shrinking and growing; Setting flexBasis; Growing and shrinking flex items; Styling text with React Native; Text style properties; Encapsulating text styles in reusable components; Styling images; Background images; Inspecting and debugging styles; Using the React Native Inspector; Adding media query behavior to React Native; Using Dimensions; Using onLayout per View; Summary; Chapter 4: Starting our Project with React Native Components; Native components; Text; Props.
- ViewProps; Image; Props; Static methods; Touchable; Props; ListView; DataSource; renderRow; Props; Modal; Props; WebView; Props; TabBarIOS; Props; TabBarIOS. Item; Props; TextInput; Props; Other input components; Native APIs; ActionSheetIOS; Alert; Vibration; StatusBar; Summary; Chapter 5: Flux and Redux; The Flux architecture; Motivation; Implementing Flux; Creating our view; Actions and action creators; Dispatcher; Stores; Rendering updated data; Getting started with Redux; Principles of Redux; Installing Redux; Implementing Redux; Refactoring the store; Reducer; Creating the store.