React Components

Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 21. April 2016
  • |
  • 182 Seiten
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78588-372-9 (ISBN)
Explore the power of React components for cutting-edge web developmentAbout This BookLearn to build better websites by creating a variety of different components in ReactConceptualize the design and build maintainable web apps with the help of componentsA fast-paced guide to help you learn about component-based development in ReactWho This Book Is ForThis book is ideal for developers who are familiar with the basics of React and are looking for a guide to building a wide range of components as well as develop component-driven UIs.What You Will LearnHow to structure an app into components Working with nested componentsWork with nested componentsSet up communication across componentsStyle the existing componentsWork with Material Design as a componentRender components on the serverMake the best of design patternsMake the app pluggableIn DetailThe reader will learn how to use React and its component-based architecture in order to develop modern user interfaces. A new holistic way of thinking about UI development will establish throughout this book and the reader will discover the power of React components with many examples. After reading the book and following the example application, the reader has built a small to a mid-size application with React using a component based UI architecture. The book will take the reader through a journey to discover the benefits of component-based user interfaces over the classical MVC architecture. Throughout the book, the reader will develop a wide range of components and then bring them together to build a component-based UI. By the end of this book, readers would have learned several techniques to build powerful components and how the component-based development is beneficial over regular web development.Style and approach This book is a compact, example-driven guide that provides a step-by-step approach.
  • Englisch
  • Birmingham
  • |
  • Großbritannien
978-1-78588-372-9 (9781785883729)
1785883720 (1785883720)
weitere Ausgaben werden ermittelt
Christopher Pitt is a principal developer for SilverStripe in Wellington, New Zealand. He usually works on open source software, though sometimes you'll find him building compilers and robots.
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewer
  • Table of Contents
  • Preface
  • Chapter 1: Thinking in Components
  • Why components?
  • Using modern JavaScript
  • Compiling modern JavaScript
  • Debugging in the browser
  • Managing common tasks
  • Testing in JSBin
  • Summary
  • Chapter 2: Working with Properties and State
  • Nesting components
  • Shared component actions
  • Component life cycle methods
  • Summary
  • Chapter 3: Saving and Communicating Data
  • Validating properties
  • Storing cookies
  • Using local storage
  • Using event emitters
  • Summary
  • Chapter 4: Styling and Animating Components
  • Adding new pages
  • Adding styles to components
  • Changing and reverting
  • Animating new components
  • Working with CSS transitions
  • Organizing styles with Sass
  • Alternatives
  • CSS modules
  • React style
  • Summary
  • Chapter 5: Going Material!
  • Understanding material design
  • Surfaces
  • Interactions
  • Motion
  • Typography and iconography
  • Keeping your head above water
  • Material design lite
  • Creating a login page
  • Updating page admin
  • Alternative resources
  • Font Squirrel
  • Material UI
  • Summary
  • Chapter 6: Changing Views
  • Location, location, location!
  • A bit of history
  • Using browser history
  • Using a router
  • Creating public pages
  • Summary
  • Chapter 7: Rendering on the Server
  • Rendering components to strings
  • Creating a simple server
  • Creating a server backend
  • Communicating through Ajax requests
  • Communicating through web sockets
  • Structuring server-side applications
  • Summary
  • Chapter 8: React Design Patterns
  • Where we are
  • Flux
  • Benefits of using Flux
  • Redux
  • Using context
  • Benefits of Redux
  • Summary
  • Chapter 9: Thinking of Plugins
  • Dependency injection and service location
  • Dependency injection
  • Factories and service locators
  • Fold
  • Why this matters
  • Extending with callbacks
  • Stores, reducers, and components
  • Summary
  • Chapter 10: Testing Components
  • Eat your vegetables
  • Design by testing
  • Documentation by testing
  • Sleep by testing
  • Types of tests
  • Unit tests
  • Functional tests
  • Testing with assertions
  • Testing for immutability and idempotence
  • Connecting to Travis
  • End-to-end testing
  • Summary
  • Index

Dateiformat: EPUB
Kopierschutz: Adobe-DRM (Digital Rights Management)


Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat EPUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Weitere Informationen finden Sie in unserer E-Book Hilfe.

Download (sofort verfügbar)

28,05 €
inkl. 19% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe DRM
siehe Systemvoraussetzungen
E-Book bestellen

Unsere Web-Seiten verwenden Cookies. Mit der Nutzung dieser Web-Seiten erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok