Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Getting Started with React
  • Table Of Contents Toc
  • Feedback & Rating feedback
Getting Started with React

Getting Started with React

By : Danillo Corvalan, Sengupta, Singhal
4 (9)
close
close
Getting Started with React

Getting Started with React

4 (9)
By: Danillo Corvalan, Sengupta, Singhal

Overview of this book

ReactJS, popularly known as the V (view) of the MVC architecture, was developed by the Facebook and Instagram developers. It follows a unidirectional data flow, virtual DOM, and DOM difference that are generously leveraged in order to increase the performance of the UI. Getting Started with React will help you implement the Reactive paradigm to build stateless and asynchronous apps with React. We will begin with an overview of ReactJS and its evolution over the years, followed by building a simple React component. We will then build the same react component with JSX syntax to demystify its usage. You will see how to configure the Facebook Graph API, get your likes list, and render it using React. Following this, we will break the UI into components and you’ll learn how to establish communication between them and respond to users input/events in order to have the UI reflect their state. You’ll also get to grips with the ES6 syntaxes. Moving ahead, we will delve into the FLUX and its architecture, which is used to build client-side web applications and complements React’s composable view components by utilizing a unidirectional data flow. Towards the end, you’ll find out how to make your components reusable, and test and deploy them into a production environment. Finally, we’ll briefly touch on other topics such as React on the server side, Redux and some advanced concepts.
Table of Contents (12 chapters)
close
close
11
Index

Other ES (ECMAScript) versions in React

In the second half of this chapter, we will explore how React supports newer versions of ECMAScript. Until now, we have explored the different lifecycle methods in a React component. In this section of the chapter, we will dig into something different: how changes in the new version of ECMAScript have been adopted by React.

ES6

ES6 is the current version of the ECMAScript Language Specification Standard. Further details about the changes and the new things incorporated can be found on the Mozilla Development Network site: https://developer.mozilla.org/en-US/docs/Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla

Complete documentation for ES6 is beyond the scope of this book.

According to the Facebook documentation:

Starting with React 0.13.0 a transpiler allows us to use ES6 classes. JavaScript originally didn't have a built-in class system. The developer team wanted class creation using the idiomatic JavaScript style. Therefore instead...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Getting Started with React
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon