1.

Record Nr.

UNINA9910300654003321

Autore

Gackenheimer Cory

Titolo

Introduction to React [[electronic resource] /] / by Cory Gackenheimer

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2015

ISBN

1-4842-1245-2

Edizione

[1st ed. 2015.]

Descrizione fisica

1 online resource (141 p.)

Collana

Expert's Voice in Web Development

Disciplina

004

Soggetti

Computer programming

Software engineering

Programming languages (Electronic computers)

Web Development

Software Engineering/Programming and Operating Systems

Programming Languages, Compilers, Interpreters

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di contenuto

Contents at a Glance; Contents; About the Author; About the Technical Reviewer; Acknowledgments; Chapter 1: What Is React?;  Defining React;  Why React?;  What Problems Does React Solve?;  React Is Not Just Another Framework;  Ember.js;  AngularJS;  React;  React Concepts and Terminology;  Getting React;  Components;  Virtual DOM;  JSX;  Properties;  State;  Flux;  Tools;  Add-Ons;  Summary; Chapter 2: The Core of React;  React;  React.createClass ;  React.Children.map;  React.Children.forEach;  React.Children.count;  React.Children.only;  React.createElement;  React.cloneElement ;  React.DOM

React.createFactory React.render;  React.renderToString;  React.findDOMNode;  Discovering React Components;  Understanding Component Properties and Methods;  Component Lifecycle and Rendering;  render;  getInitialState ;  getDefaultProps;  Mixins;  propTypes;  statics;  displayName;  componentWillMount;  componentDidMount;  componentWillReceiveProps;  shouldComponentUpdate ;  componentWillUpdate;  componentDidUpdate;  componentWillUnmount;  React Elements;  React Factories ;  Summary; Chapter 3: JSX Fundamentals;  Why Use JSX Instead of Conventional JavaScript?;  Using a JSX Transformer



How JSX Converts from an XML-Like Syntax to Valid JavaScript Spread Attributes and Other Considerations for JSX;  Summary; Chapter 4: Building a React Web Application;  Outlining Your Application's Basic Functionality;  Thinking in Terms of Components;  Wireframes;  Rewrite an Existing Application;  Creating the Necessary Components for Your App;  Testing Your Application;  Simulate; renderIntoDocument; mockComponent; isElement; isElementOfType; isDOMComponent; isCompositeComponent;  isCompositeComponentWithType ; findAllInRenderedTree; scryRenderedDOMComponentsWithClass

findRenderedDOMComponentsWithClass  scryRenderedDOMComponentsWithTag ;  findRenderedDOMComponentsWithTag ;  scryRenderedComponentsWithType ;  findRenderedComponentsWithType ;  Running Your Application;  Summary; Chapter 5: Introducing Flux: An Application Architecture for React;  What Flux Is and Why It Is Different than Typical MVC Fram eworks;  The Basic Components of Flux;  Dispatcher;  Stores;  Actions;  Views;  How React and Flux Look Together;  Summary; Chapter 6: Using Flux to Structure a React Application;  Structuring Your Application

Creating Dispatcher, Stores, Actions, and React Components for the Application Dispatcher ;  Stores;  Actions;  React Components;  Writing Tests;  Running the Application;  Summary; Index

Sommario/riassunto

Introduction to React teaches you React, the JavaScript framework created by developers at Facebook, to solve the problem of building complex user interfaces in a consistent and maintainable way. React.js shrugs away common front-end conventions in an effort to make things more efficient - use Introduction to React to learn about this framework and more today. Get to know the React API and it’s specific JavaScript extension, JSX, which makes authoring React components easier and maintainable. You will also learn how to test your React applications and about the tools you can use while building. Once you understand these core concepts, you can build applications with React. This will help you cement the ideas and fundamentals of React and prepare you to utilize React in your own use cas e. See how to: use React to maintain complex user interfaces in an efficient way integrate existing user interfaces and move forward with React manage application architecture using Flux easily utilize JSX, React's JavaScript extension.