
Learn how to implement click events in React with onClick, handling events with named and inline arrow functions, and accessing the event object for dynamic logging and debugging.
Master the top-level rules for using hooks in React, including that useState runs at the top level of a component and within its scope.
Create a simple title component in a components folder for a React app. Export and nest it in the app using JSX and className, and style the title and subtitle.
Explore building a reusable modal component in React using the children prop, structuring a modal with a backdrop and CSS, and nesting content inside the app for flexible, varied modals.
Bind inputs to React state to create controlled inputs with onChange and value. The lecture demonstrates a reset function that clears title and date, updating the inputs accordingly.
Submit a form in React using onSubmit, prevent default, and build a new event object with title, date, and a unique id, then reset the form.
Create a blank React project and set up json server globally to simulate a database, adding a data/DB.json with a trips resource and API endpoints for fetch.
Learn how to manage function dependencies in React by using useCallback to memoize a fetch trips function and trigger useEffect only when the URL changes.
Map through the shuffled cards state to render a four-column grid, displaying each card’s front and back images with a unique key and styling via the card-grid class.
Extract the card template into a reusable single card component in components folder, map cards to the component with a card prop, and style with a single card css file.
Learn to build a memory-style card matching feature in React by managing two card choices with state, handling back-side clicks, and updating choice one or two.
Implement a CSS card flip with back and front rotations, 0.2s transitions, and a front-face delay to create a realistic flip effect in a React web app.
Wrap routes in a switch to render only one component at a time. Use the exact prop to ensure exact matches and prevent home from showing with about or contact.
React is a hugely popular front-end library and React developers are always in high demand in the web dev job market. In this course you'll learn how to use React from the ground-up to create dynamic & interactive websites, and by the time you finish you'll be in a great position to succeed in a job as a React developer. You'll also have 4 full React projects under your belt too, which you can customize and use in your portfolio!
Throughout the course you'll learn exactly what React is and why it's such a popular choice to make interactive & dynamic websites. You'll learn how to set up a React website from scratch, how to create React components, how to use state to manage component data & how to work with interactive events such as click events & form submissions.
You'll also get hands-on practise with the React Router (which is used in React to create website with "multiple pages") and you'll see how these are actually known as Single Page Applications (or SPA's for short).
We'll dive into React Hooks such as useState, useEffect, useParams & useHistory and use them to help us create 4 full React projects from scratch - a memory game, a recipe website, a finance tracker & a project management application.
You'll also learn some more avanced topics such as the React Context API to handle global state & reducers (including the useReducer hook) to help manage more complex state.
Once you've mastered React, we'll take our websites to the next level by integrating them with Firebase - a backend as a service. You'll learn how to add services such as a real-time database & authentication into your React sites as well as how to allow end-users to upload files from their computers with the help of Firebase Storage. Finally, I'll teach you how to build & deploy your React sites to the web using Firebase Hosting.
By the end of the course you'll have a solid understanding of React & be able to make your own production-ready websites!