ATU Sligo /ATU St Angela's

go

React.js essentials : a fast-paced guide to designing and building scalable and maintainable web apps with React.js /

Fedosejev, Artemij,

React.js essentials : a fast-paced guide to designing and building scalable and maintainable web apps with React.js / - Birmingham, UK : Packt Publishing, 2015. - x, 183 p. : illustrations ; 28 cm. - Community experience distilled . - Community experience distilled. .

Includes index.

Cover ; Copyright; Credits; Foreword; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Installing Powerful Tools for Your Project ; Approaching our project; Installing Node.js and npm; Installing Git; Getting data from the Twitter Streaming API; Filtering data with Snapkite Engine; Creating the project structure; Creating package.json; Reusing Node.js modules; Building with Gulp.js; Creating a web page; Summary; Chapter 2: Create Your First React Element ; Understanding the virtual DOM ; Installing React Creating React Elements with JavaScriptThe type parameter; The props parameter; The children parameter; Rendering React Elements; Creating React Elements with JSX; Summary; Chapter 3: Create Your First React Component ; Stateless versus stateful; Creating your first stateless React component; Creating your first stateful React component; Summary; Chapter 4: Make Your React Components Reactive ; Solving a problem using React; Planning your React application; Creating a container React component; Summary; Chapter 5: Use Your React Components with Another Library Using another library in your React componentUnderstanding React component's lifecycle methods; Mounting methods; The getInitialState method; The componentWillMount method; The componentDidMount method; Unmounting methods; The componentWillUnmount method; Summary; Chapter 6: Update Your React Components ; Understanding component lifecycle's updating methods; The componentWillReceiveProps method; The shouldComponentUpdate method; The componentWillUpdate method; The componentDidUpdate method; Setting default React component properties; Validating React component properties Creating a Collection componentSummary; Chapter 7 : Build Complex React Components ; Creating the TweetList component; Creating the CollectionControls component; Creating the CollectionRenameForm component; Creating the Button component; Creating the CollectionExportForm component; Summary; Chapter 8: Test Your React Application with Jest ; Why write unit tests?; Creating test suits, specs, and expectations; Installing and running Jest; Creating multiple specs and expectations; Testing React components; Summary; Chapter 9: Supercharge Your React Architecture with Flux Analyzing your web application's architectureUnderstanding Flux; Creating a dispatcher; Creating an action creator; Creating a store; Summary; Chapter 10: Prepare Your React Application for Painless Maintenance with Flux ; Decoupling concerns with Flux; Refactoring the Stream component; Creating CollectionStore; Creating CollectionActionCreators; Refactoring the Application component; Refactoring the Collection component; Refactoring the CollectionControls component; Refactoring the CollectionRenameForm component; Refactoring the TweetList component; Refactoring the StreamTweet component

9781782174622 1782174621 9781783551620 1783551623


Web applications--Design.
Web applications.
JavaScript (Computer program language)
Application software--Development.


Electronic books.

006.76 / FED