Refreshing Next Generation JavaScript (Optional)
-
1Introduction
Let me introduce you to this module and to the course in general - welcome on board! :)
-
2What is React?
Let's dive into the most important question first: What is React? In this lecture, we'll take a closer look.
-
3Real-World SPAs & React Web Apps
We learned what React is but it's always more useful to see real-world examples. So let's dive into some web pages that use React or a similar framework/ approach in this lecture.
-
4Adding the Right React Version to Codepen
There might be an error when adding React-DOM to Codepen. Use the solution shown in this lecture to fix it.
-
5Writing our First React Code
With the theory out of the way: Let's dive into React and let's actually write our first React code.
-
6Why Should we Choose React?
Why React? Why not vanilla JavaScript? What's the advantage of picking a library like React? These answers will get answered in this lecture.
-
7React Alternatives
React's not the only library you can dive into. Let's take a closer look at some alternatives you have.
-
8Understanding Single Page Applications and Multi Page Applications
With React, you frequently create Single Page Applications. Now what does that mean? What is a Single Page Application? This lecture will answer these questions.
-
9Course Outline
You now know what React is but what does the course actually offer you? This lecture will answer that question.
-
10How to get the Most out of This Course
There's more than one way of taking a course. Let's find out how you can get the most out of this course in this lecture.
-
11Useful Resources & Links
This lecture contains some useful resources and links. It also holds all the code for the module attached to it.
Understanding the Base Features & Syntax
-
12Module Introduction
Let me introduce you to this module and to what you're going to learn in it.
-
13Understanding "let" and "const"
One important next-gen feature you're going to see a lot is the usage of "const" and "let" instead of "var". What's up with these keywords? This lecture answers the question.
-
14Arrow Functions
Arrow functions are another key next-gen feature we'll heavily use in this course. Let's dive into how to write them and how to use them in this lecture.
-
15Exports and Imports
We'll write modular code in this course. That means, that the code will be split up across multiple files. In order to connect these files correctly, we'll need imports and exports. So let's dive into that feature in this lecture.
-
16Understanding Classes
The "class" keyword is another new feature you'll see quite a bit in this course. Learn what it's about in this lecture.
-
17Classes, Properties and Methods
Classes may have properties and methods. There actually are different ways of defining these. Let's dive into the details in this lecture.
-
18The Spread & Rest Operator
React also makes heavy usage of the "Spread" operator. Or React projects do, to be precise. Learn more about that new operator in this lecture.
-
19Destructuring
Time to destructure! It's a new JavaScript feature and it allows you to ... do what? Let's explore the feature in this lecture.
-
20Reference and Primitive Types Refresher
Not next-gen but super important: Knowing the difference between reference and primitive types. This lecture will explore both.
-
21Refreshing Array Functions
We'll use a lot of array functions in this course. They're not next-gen but you need to feel confident working with them. So let's explore them in this lecture.
-
22Wrap Up
Let me wrap this module up and summarize what we learned thus far.
-
23Next-Gen JavaScript - Summary
Have a look at this lecture to get a good overview over the various next-gen JS features you'll encounter in this course.
-
24JS Array Functions
Here's something we'll also use quite a bit in this course: Some JavaScript array functions.
Working with Lists and Conditionals
-
25Module Introduction
Let me introduce you to this module and to what you're going to learn in it.
-
26The Build Workflow
When creating React apps, we typically use a lot of modern development features. To use all these features, a modern build workflow is needed, too. Learn more about that in this module.
-
27Using Create React App
Fortunately, we don't have to set up a build workflow manually - there's a tool for that! Let me introduce you to create-react-app.
-
28Understanding the Folder Structure
create-react-app allows us to easily create React projects. Let me now walk you through the structure of such a project.
-
29Understanding Component Basics
Components are THE core building block of React apps. Time to dive into them and learn more about them.
-
30Understanding JSX
JSX is the meat of a component - every component needs to return some JSX (or the alternative shown in this lecture). Let's explore it!
-
31JSX Restrictions
When using JSX, we face some restrictions. Let's find out which these are.
-
32Creating a Functional Component
We had a look at components already but now it's time to also create our own component. And for that, we'll use a different way of creating it. Learn more about it (and the WHY) in this lecture.
-
33Components & JSX Cheat Sheet
Time to quickly summarize what components and JSX are about.
-
34Working with Components & Re-Using Them
Since we compose our app from components, it's of course also crucial to understand how we work with them and how we make sure that they are re-usable.
-
35Outputting Dynamic Content
Rarely, you only want to output static content. Learn how to easily output dynamic content in this lecture.
-
36Working with Props
When working with components, you typically also need to pass data around. Props are used for that - learn more about this core concept in this lecture.
-
37Understanding the Children Property
There's a special property we can access on our props - the children property. Learn what's up with it in this lecture.
-
38Understanding & Using State
Props are used to pass data from a parent to a child component but what should you do if you want to change the data you display from within a component? "state" is there to save you! Learn more about it, in this lecture!
-
39Props & State
Props and state are crucial elements of React - time for a quick comparison and summary.
-
40Handling Events with Methods
Obviously, your app is probably also going to involve the user. Handling events is therefore crucial. Learn how to handle events the React way, in this lecture.
-
41To Which Events Can You Listen?
We saw onClick in the last lecture - but to which other events can you actually listen in React apps?
-
42Manipulating the State
You learned about state and how to handle events - time to bring both concepts together and manipulate the state to force an UI update.
-
43Functional (Stateless) vs class (Stateful) Components
We learned about two different ways of creating components - which should you use when?
-
44Passing Method References Between Components
What if you want to listen to an event in a child component? Can you still trigger a method in the parent component? Yes, you can - learn more about it in this lecture.
-
45Adding Two Way Binding
When handling user input, two-way-binding is very useful and actually required to both listen to the user input and also reflect the latest state. Learn how to implement it in this lecture.
-
46Adding Styling with Stylesheets
Unstyled components don't look that exciting. Time to learn how to add styling!
-
47Working with Inline Styles
Using CSS stylesheets is one way of adding styling - a static one though. Learn about a different, more flexible way in this lecture.
-
48Time to Practice - The Base Syntax
-
49Useful Resources & Links
This lecture contains some useful resources and links. It also holds all the code for the module attached to it.
Styling React Components & Elements
-
50Module Introduction
Let me introduce you to this module and outline what we're going to cover.
-
51Rendering Content Conditionally
Not all content should be visible all the time - let me introduce you to conditional rendering in React apps in this lecture.
-
52Handling Dynamic Content "The JavaScript Way"
In React, everything is JavaScript, that's extremely important to understand. Let's now dive into how that helps you when handling dynamic content.
-
53Outputting Lists (Intro)
Outputting lists (arrays) is a core task you'll probably face in any web app you build. Let's have a look at how React supports you in this lecture.
-
54Outputting Lists
Time to get our hands dirty and actually output a list in React.
-
55Lists & State
Often, you want to connect lists to your app state and also be able to react to events. Learn more about these things in this lecture.
-
56Updating State Immutably
When updating state, you should make sure to not overwrite the original state. Learn more about that in this lecture.
-
57Lists & Keys
React updates the UI for you and it does so very efficiently. To be able to do that, you need to support it when working with arrays of JSX (=> Lists). Learn how to do that in this lecture.
-
58Flexible Lists
Let's dive deeper into lists and see how we can really create flexible lists in this lecture.
-
59Wrap Up
Let me wrap this module up and summarize what we learned thus far.
-
60Time to Practice - Lists & Conditionals
-
61Useful Resources & Links
This lecture contains some useful resources and links. It also holds all the code for the module attached to it.
Debugging React Apps
-
62Module Introduction
Let me introduce you to this module and explain what you're going to learn.
-
63Outlining the Problem Set
What's so interesting about styling? Let me outline some potential pain points and where we'd like some help from React
-
64Setting Styles Dynamically
Since everything's JavaScript, it would of course be nice to also get some dynamic styling. Let's explore some options in this lecture.
-
65Setting Class Names Dynamically
Not only the styles themselves can be dynamic - the classes we assign could also be. Let's dive into that in this lecture.
-
66Adding and Using Radium
We saw that inline styles have some limitations. Let's find out how we can work around them.
-
67Using Radium for Media Queries
Radium is an interesting package as we saw. Let's explore how we use it together with Media Queries.
-
68MUST READ: Enabling CSS Modules
-
69Enabling & Using CSS Modules
Radium is a nice package for enabling standard CSS features. But why not use standard CSS and scope it to components? Learn more about that in this lecture.
-
70More on CSS Modules
Want to dive deeper into CSS Modules? This lecture should be very helpful and provide additional insights into that technique.
-
71Adding Pseudo Selectors
CSS modules were added, time to use them for pseudo selectors and media queries! Let's start with the pseudo selectors here.
-
72Working with Media Queries
After adding pseudo selectors, let's next have a look at media queries.
-
73Useful Resources & Links
This lecture contains some useful resources and links. It also holds all the code for the module attached to it.
Diving Deeper into Components & React Internals
-
74Module Introduction
Let me introduce you to this module and to what you're going to learn in it.
-
75Understanding Error Messages
Errors can be frustrating but React actually provides some useful error messages. Let's learn how to interpret them.
-
76Finding Logical Errors by using Dev Tools & Sourcemaps
Error messages can be annoying but logical errors are way worse. Learn how to use useful browser tools to find such logical errors.
-
77Working with the React Developer Tools
React also has its own dev tools which you may use. Learn how to use them in this lecture.
-
78Using Error Boundaries (React 16+)
With React 16, a new feature was added: Error Boundaries. Learn more about it in this lecture.
-
79Wrap Up
Let me wrap this module up and summarize what we learned thus far.
-
80Useful Resources & Links
This lecture contains some useful resources and links. It also holds all the code for the module attached to it.