Book Image

Advanced JavaScript

By : Zachary Shute
Book Image

Advanced JavaScript

By: Zachary Shute

Overview of this book

If you are looking for a programming language to develop flexible and efficient applications, JavaScript is an obvious choice. Advanced JavaScript is a hands-on guide that takes you through JavaScript and its many features, one step at a time. You'll begin by learning how to use the new JavaScript syntax in ES6, and then work through the many other features that modern JavaScript has to offer. As you progress through the chapters, you’ll use asynchronous programming with callbacks and promises, handle browser events, and perform Document Object Model (DOM) manipulation. You'll also explore various methods of testing JavaScript projects. In the concluding chapters, you'll discover functional programming and learn to use it to build your apps. With this book as your guide, you'll also be able to develop APIs using Node.js and Express, create front-ends using React/Redux, and build mobile apps using React/Expo. By the end of Advanced JavaScript, you will have explored the features and benefits of JavaScript to build small applications.
Table of Contents (9 chapters)

React


React is a JavaScript library for building user interfaces. React is maintained primarily by FaceBook. React was first created by Jordal Walke, a Facebook software engineer, and open sourced in 2013. React is designed to simplify web development and allow developers to build single-page web sites and mobile applications with ease.

Note

React's full documentation, along with extended tutorials, can be found at their home page: https://reactjs.org/.

React uses a declarative approach for designing a view to improve the predictability and debugging of pages. The developer can declare and design simple views for each state in the application. React will handle the updating and rendering of the views as states change. React relies on a component-based model. The developer builds encapsulated components that track and handle their own internal states. We can combine our components to make complex user interfaces, similar to how we use function composition to build complex functions from simple...