
Let us begin the course and see the lessons and concepts that will be covered.
The GitHub link for this course is: https://github.com/TrainingByPackt/Beginning-Frontend-Development-with-React-eLearning
In this section, you will learn how to install and set up the environment. Let us install:
• Node.js
• Chrome Browser
Let us now get introduced to React and build the basic infrastructure of a React-based application. We will then analyze how to design a user interface so that it can be easily mapped to React components, exploiting the best from React's internal architecture.
Let us now understand the definition of React in brief.
Now, let us learn some of the basic tools required for setting up a modern JavaScript Development Environment, namely, Transpiler, Syntax Checker, Moduler Bundler, and Task Runner.
Let us learn to install create-react-app, setting up the development environment, creating first react application and a basic application, and finally exploring the generated content.
Let us look into the pros of progressive Web App (PWA) and learn file content, changing file content, and viewing results.
Let us now learn the concept of Component, how to decompose a User Interface and understand the difference between Container and Presentational Components.
This video summarizes your learning of this lesson.
Let us now learn to implement React components, to assemble multiple components into one, and to manage their internal states in this lesson.
Let us now get introduced to the basic definition of a Component and learn the constraints that the render() method should comply with. Next, let’s look into the meaning of a Pure Function and a Pure Component and learn to build our First React Component.
Now, let’s learn to manage styles in the App component module. We will also learn to add CSS, and to define a shopping cart.
Let's now learn that the HTML-like language describing the React component's visual output is called JSX. So let us learn about using JSX, the JSX tags that match the HTML tags, and finally translating HTML into JSX.
Let us learn about composing React components, combining components, and defining a composed cart.
Let us now get introduced to data propagation, its unidirectional data flow, defining a composed cart, and finally creating a cart item component.
Let us now understand that Components have the ability to store data that can change over time by learning to manage the internal state. Next, let us understand the setState() method and important things to be considered while when deciding which component should be stateful. Next, we learn to move the Logic of getting data Inside of the Catalog Component and try this by adding state management to the Cart Component.
This video summarizes your learning of this lesson.
Let us now learn how to manage the events generated by a user's interaction with the components of a React-based user interface.
Let us understand that a web application requires interaction between the user and the user interface (UI). We will see it by learning to manage user interaction and displaying the result of the code used previously. Let us then learn that React approach to handling events is very similar to classic event management within HTML with subtle differences.
Now, let us get introduced to Event Handlers and using the this Keyword. Let us also learn about changing the component’s state because in many real-world cases, an event causes changes to the application's state, and that means changes to the component's state.
Let us learn more about managing user interaction in the form of verifying the code, showing its results and then learn about adding items to a shopping cart.
In a React application, components are created dynamically, according to the evolution of the application at runtime. Let us get a brief idea about a component’s lifecycle events and a component’s constructor execution. Let us then look into the event flow and highlights of the grouped lifecycle events of Mounting, Updating via props, and Updating via setState(). After component creation, let us learn that React will trigger a few events corresponding to the respective phases of the component's lifecycle and finally let’s learn how to show the quantity of items added to the cart.
Let us now understand the need to manage routing, the way to install React Router and its three packages. Next, let us learn the way to add routing capabilities to the application and lastly, learn how to create a view to display the Catalog component and showing the result.
Let us now look into some notes about the Route Component and that we can use these routing components inside of any other component so that we can build nested views and nested routes.
Let us now learn the path parameters, displaying results, and the properties of path parameters. Finally, let us learn about adding a shipping methods’ view.
This video summarizes your learning of this lesson.
Through this course, you'll learn the basics you need to get up and running with React and tackle real-world projects and challenges. It begins by explaining the basics of React and shows you the nuances while setting up a React-based application and designing a UI. Once you are comfortable in the React world, you are introduced to components and how to compose them using JSX. With this course, you can learn advanced concepts, such as data propagation, data binding, and also discover how to manage the internal state of a component. You'll also learn about component lifecycle events and understand how to manage routing. By the time you are done with the course, you'll find yourself feeling confident to take on real-world projects.
About the Authors
Andrea Chiarelli has over 20 years of experience as a software engineer and technical writer. In his professional career, he has used various technologies for the projects he has been involved in: from C# to JavaScript, from Angular to React, and ASP.NET to PhoneGap/Cordova. He has contributed to many online and offline magazines and is the author of a few books published by Wrox Press and Packt. Currently, he is a senior software engineer at the Italian office of Apparound, Inc. and a regular contributor to HTML .it, an Italian online magazine focused on web technologies.
David W. Parker is programming professionally for 16 years. He had worked for large enterprises such as the United States Air Force. His work also includes several small startups as CTO and VP of Engineering. He is the co-founder of Uvize, accepted into Techstars startup accelerator and later sold it. He has passion for graphics, personal finance, and education.